Re: read/write file timestamp
- Posted by "Derek Parnell" <ddparnell at bigpond.com> Feb 29, 2004
- 395 views
----- Original Message ----- From: "Kat" <gertie at visionsix.com> To: <EUforum at topica.com> Subject: read/write file timestamp > > > How does one read the epoch time for a file in Eu on windoze, and then > apply that timestamp to another file? I know dir() lists the time and date, > but > that's not epoch time, and it doesn't write a new timestamp or other > attributes > to a file. Win32lib has a attribute set for hidden, system, compressed, etc, > but > not time/date ? > Kat, I don't think Windows has a concept of epoch time. The files times are stored as a 64-bit value representing the number of 100-nanosecond intervals since January 1, 1601. And there is no API to change the datetimes (that I know of). -- Derek