Thread
:
need help on how to calculate between 2 input times.
View Single Post
Feb 8th, 2006, 7:02 AM
#
3
DaWei
Resident Grouch
Join Date: Jun 2005
Posts: 7,869
Rep Power:
14
Quote:
user_input_start_time = 10.25 /* means 10.25 AM */
When converting your numbers, as mentioned by roshan, you don't want 10.25 to mean 10:25, as it means 10:15. I'm not saying that's what you're doing, just a tip.
__________________
The person who coined the phrase, "There's no such thing as a stupid question," hasn't hung around here much.
Contributor's Corner:
Grumpy on C++ Exceptions
DaWei on Pointers
Politically Incorrect
DaWei
View Public Profile
Visit DaWei's homepage!
Find More Posts by DaWei