Compartir a través de


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   4

5   6   7   8   9   A

B   C   D   E   F

Length:

5

6

5

Contents:

hours

minutes

2-second increments

Value Range:

0–23

0–59

0–29 in 2-second intervals

Date

Bit position:

0   1   2   3   4   5   6

7   8   9   A

B   C   D   E   F

Length:

7

4

5

Contents:

year

month

day

Value Range:

0–119

1–12

1–31

 

(relative to 1980)

 

 

See Also

Concepts

Global Constants