View Single Post
  #2 (permalink)  
Old 10-13-2008, 04:13 AM
Norm's Avatar
Norm Norm is offline
Senior Member
 
Join Date: Jun 2008
Location: Heredia, Costa Rica
Posts: 2,225
Norm is on a distinguished road
Quote:
how i would get the minutes here without declaring them before
Not sure what you are asking, unless its how to do arithmetic.
If you know the current time and the departure time, do the arithmetic to compute the hours and minutes between them. Hours are based 24 and minutes are based 60. Ie when incrementing minutes, roll over at 60 minutes to the next hour.

How is this a java programming question?

Last edited by Norm : 10-13-2008 at 04:15 AM.
Reply With Quote