Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Convert an integer into minutes

Status
Not open for further replies.

sbbrown9924

Technical User
Mar 7, 2003
80
US
How would I convert an integer value into minutes so it could be formatted using FormatDateTime(var,4)?
 
A starting point:
FormatDateTime([number of minutes]/1440, 4)

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
PHV;

Thanks - that worked great. Are you dividing by 1440 to make the [number of minutes] a percentage of the total minutes in a day?
 
1440 = 24 * 60, ie the number of minutes in a day.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top