Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define MsToSegundos(%0) %0 / 1000;
- #define SecondsToMinutes(%0) %0 / 60
- #define MinutesToSeconds(%0) %0 * 60;
- #define MinuteToHours(%0) %0 / 60;
- /*
- - Exemplo:
- printf("Servidor ligado a %d horas",MinuteToHours(MinutesToSeconds(SecondsToMinutes(MsToSegundos(GetTickCount())))));
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement