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

How can I get a number of minutes

Status
Not open for further replies.

3587ch

Technical User
Jun 19, 2009
30
US
I have two combo boxes with time slots I need to calculate the number of minutes between the two times selected.

cboTimeSlotA = 8:00 AM
cboTimeSlotB = 2:30 PM

This would be 390 minutes
 
What is the data type? If it's Date:
[tt]DateDiff("n",datTime1,datTime2)[/tt]

[purple]If we knew what it was we were doing, it would not be called
research [blue]database development[/blue], would it? [tab]-- Albert Einstein[/purple]​
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top