Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to compare to string dates
Message
From
20/08/2002 06:51:17
 
 
To
All
General information
Forum:
Visual Basic
Category:
Other
Title:
How to compare to string dates
Miscellaneous
Thread ID:
00691374
Message ID:
00691374
Views:
63
Hi

I am using the filesystems object to get a hold of the last time a file was modified.

I then want to check this time against the current time, and if 15 minutes has elapsed I want to mail the users.

I need to know how to compare two dates, or times

for exapmle the two dates are strings ..so I convert them to dates

CDate("20/08/02 12:00:00") - CDate("20/08/02 10:00:00")

this gives me a result of 8.2332343434-e

Does anyone know how to return a result which makes sense ?

Hope you can help

Regards
Steven
Next
Reply
Map
View

Click here to load this message in the networking platform