Link to home
Start Free TrialLog in
Avatar of liljegren
liljegrenFlag for Sweden

asked on

Compare two dates

VB5
---
How can I compare two dates from the FileDateTime() function? I want to see which file is older.
Avatar of liljegren
liljegren
Flag of Sweden image

ASKER

Naturally, I don't want the program to crasch on a computer with another regional date setting. :-)
ASKER CERTIFIED SOLUTION
Avatar of jjbyers
jjbyers

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
use CDbl to change the results of FileDateTime and store in double variables.  Compare the values - the higher the value the later the date.