Thread: timevar
View Single Post
  #3  
Old 05-01-2005, 07:48 AM
Velox Cruentus Velox Cruentus is offline
Registered User
Velox Cruentus's Avatar
Join Date: Dec 2004
Location: Quebec, Canada
Posts: 465
Velox Cruentus is on a distinguished road
Send a message via ICQ to Velox Cruentus Send a message via AIM to Velox Cruentus
seconds = (timevar*5)%60;
minutes = int((timevar*5)/60)%60;
hours = int((timevar*5)/(60*60))%24;
days = int((timevar*5)/(60*60*24));

I believe? I'm not sure. I did this pretty fast.
__________________
In a world of change... Who'll you believe?
Reply With Quote