Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- stock TimeConvertEx(sec, &days, &hours, &minutes, &seconds)
- {
- days = floatround(sec / 86400);
- hours = floatround((sec - (days * 86400)) / 3600);
- minutes = floatround((sec - (days * 86400) - (hours * 3600)) / 60);
- seconds = sec % 60;
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment