Use the Filesystem object to get any of the file datetimes... (I.E. Create
Date, Mod. Date, Last Accessed ) The simple use the built-in DateDiff
function to determine the difference in DateTimes
We use this, works fine
Thank You
Donald Burr
C.I.O.
Nationwide Auction Systems
City of Industry, California
Voice: (xxx) xxx-xxxx Ext. 248
Fax: (xxx) xxx-xxxx
Cel: (xxx) xxx-xxxx
E-Mail: dburr@n... <mailto:dburr@n...>
-----Original Message-----
From: philip.moh@a... [mailto:philip.moh@a...]
Sent: Monday, August 13, 2001 10:50 PM
To: professional vb
Subject: [pro_vb] Time
Does anyone know how.
I need to write a program that will check the file created time against
current system time. Example, abc.txt is created on 30/07/2001 at 10:00am,
and the system compare it by using the current system date and time. The
formula should be like:
Result = current date - file created date
If the Result is greater than 45 mins, system will prompt message.
Possible?? Sample code will be appreciated.. Please help..