penfold1992
Registered User.
- Local time
- Today, 10:00
- Joined
- Nov 22, 2012
- Messages
- 169
I would like to check if one date is before another date
the date formats i have is currently
DD:MM:YY HH:MM
I could use CDate but this only checks to see if the day is different rather then the minute.
for example when i put these two dates in...
CDate(03/12/2012 16:15) - CDate(03/12/2012 12:13:00)
gives me an error because they are on the same day yet is a few hours after the first date...
is there any function that will do this better?
the date formats i have is currently
DD:MM:YY HH:MM
I could use CDate but this only checks to see if the day is different rather then the minute.
for example when i put these two dates in...
CDate(03/12/2012 16:15) - CDate(03/12/2012 12:13:00)
gives me an error because they are on the same day yet is a few hours after the first date...
is there any function that will do this better?