CompuServe Thread

#Date/Time stamp

5 messages in this thread
#1953From: Dennis L. HarringtonOct 8, 1991 1:46 AM
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.
#2001From: Nelson FordOct 8, 1991 8:54 AM
I also added this to (the next update of) VBTIPS. Now how about file size and attribute? <greedy grin> There is 1 Reply.
#2018From: Dennis L. HarringtonOct 8, 1991 10:59 AM
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
#2211From: Don FunkOct 9, 1991 12:59 PM
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
#2260From: Don FunkOct 9, 1991 4:48 PM
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