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

Date Comparison

Status
Not open for further replies.

lucidity23

Programmer
Feb 14, 2001
99
0
0
US
The following is the date format I use:

11/14/2001 1:53:15 AM

I want to compare 2 dates in that format. I know I can split up the whole string and compare them that way. I need to compare the dte and time.

any quicker ways?
- carpe diem -
 
There is a DateDiff function that you can use to compare the different parts of two dates. You provide it with two dates and the interval (days, minutes, etc.) difference you're looking for.

That should help quite a bit. -Chris Didion
Matrix Automation, MCP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top