Re: Not so Random TIMESTAMP


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Jim Guerber on September 27, 2008 at 14:51:11:

In Reply to: Not so Random TIMESTAMP posted by Robert G Laurin on September 26, 2008 at 12:03:17:

When I coded the latest num2date code with date mode of 5 or 6 I realized that Windows kept the date/time accurate to the second only.

The windows docs say: "A file time is a 64-bit value that represents the number of 100-nanosecond intervals that have elapsed since 12:00 A.M. January 1, 1601 Coordinated Universal Time (UTC)."

and...

"Not all file systems can record creation and last access times, and not all file systems record them in the same manner. For example, the resolution of create time on FAT is 10 milliseconds, while write time has a resolution of 2 seconds and access time has a resolution of 1 day, so it is really the access date. The NTFS file system delays updates to the last access time for a file by up to 1 hour after the last access."

FileTime code has also been changing from dos to win9x to winNt. Perhaps we should take another look at our file time routines within the file system to make sure they are up to date.





Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?  

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):





Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]