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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

minutes in hours

Status
Not open for further replies.

phpatrick

Programmer
Jul 9, 2006
72
BE
perhaps a silly one,

if the value of a field mentioned 01:00 or 01:22 (short time notition) how cen I get the number of minutes (* 60 ?)
 
Code:
? Minute(TimeValue("01:22")) + 60 * Hour(TimeValue("01:22"))
 82
 
If the Field is defined as DateTime:
NumOfMinutes = 1440 * yourTimeField

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