#Date/Time stamp
5 messages in this thread
For those of you wishing to get a files date/time stamp without having
to resort to the kludge of shelling to DIR, I've uploaded DATTIM.ZIP into
Lib1 which demostrates how to do it using the OpenFile api call. Many kudos
to Costas Kitsos for figuring out how to decode the 4 byte reserved field
in the returned data structure. Intresting that MS simply refers to this
field as a "reserved" 4 byte string when in fact it is two word integer
fields that contain the date/time stamp.
–dennis
There are 3 Replies.
I also added this to (the next update of) VBTIPS. Now how about file size
and attribute? <greedy grin>
There is 1 Reply.
Nelson (with greedy grin – $g!)
File size? That too is included in the DATTIM.ZIP sample, but let me
give you a hint – LOF(x). As for attributes, I have no ideas right now.
–dennis
Hi Dennis,
Microsoft usually creates a reserved item for the purpose that in future
versions this may change and makes no guarantees that this will be the same
in subsequent releases.
Don Funk