Link to home
Start Free TrialLog in
Avatar of Stoke
Stoke

asked on

Converting an Integer to a Time

I have a time in minutes as an Integer and want to covert it into a time that will display to a grid hours and minutes.
Example:

Input :      Time in minutes = 745
Output: Time in hours and minutes = 12:25

I also want to compare this time with the current time now and if the time now is greater that the time listed then I want to set a Boolean flag as true.

Thank you for your help and I look forward to your reply
Richard
ASKER CERTIFIED SOLUTION
Avatar of caraf_g
caraf_g

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Stoke
Stoke

ASKER

Very Well Done.  Exactly what I needed.
Thank you Caraf_g