32 位 Windows 时间/日期格式32-Bit Windows Time/Date Formats

将无符号整数用作位域,单独存储文件时间和日期。The file time and the date are stored individually, using unsigned integers as bit fields. 文件的时间和日期打包如下:File time and date are packed as follows:

时间Time

位位置:Bit position: 0 1 2 3 40 1 2 3 4 5 6 7 8 9 A5 6 7 8 9 A B C D E FB C D E F
长度:Length: 55 66 55
内容:Contents: 小时hours 分钟minutes 2 秒的增量2-second increments
取值范围:Value Range: 0-230-23 0-590-59 2 秒间隔中的 0-290-29 in 2-second intervals

日期Date

位位置:Bit position: 0 1 2 3 4 5 60 1 2 3 4 5 6 7 8 9 A7 8 9 A B C D E FB C D E F
长度:Length: 77 44 55
内容:Contents: year month day
取值范围:Value Range: 0-1190-119 1-121-12 1-311-31
(相对于 1980)(relative to 1980)

另请参阅See Also

全局常量Global Constants