Is there an easy way to get the date & time of the file without using the FSO?
Printable View
Is there an easy way to get the date & time of the file without using the FSO?
I think you can do this using GetFileTime/SetFileTime and FileTimeToLocalFileTime API functions...there“s an example in API Guide (KPD-Team): http://www.allapi.net/
Is simple VB OK? The
FileDateTime (filename)
function might be enough.
Wow! That's easy!
Thanks!
LOL!!! :) I didn't respond to this thread because Vasconcelos already gave you the example from http://www.allapi.net/
I totally forgot about FileDateTime!! Sometimes I think I get way too API happy! :D
K.I.S.S.H (Keep It Simple Stupid Hack) :rolleyes: