Export (0) Print
Expand All

Time/Date

The Time/Date data type has the time and the date stored individually, using unsigned integers as bit fields, packed as follows.

Time

Time is encoded in an unsigned 2-byte integer with the following bit fields.

ContentsBitsValue range
hours0 1 2 3 40–23
minutes5 6 7 8 9 A0–59
2-second intervalsB C D E F0–29

 

Date

Date is encoded in an unsigned 2-byte integer with the following bit fields.

ContentsBitsValue range
year0 1 2 3 4 5 60–119 (relative to 1980)
month7 8 9 A1–12
dayB C D E F1–31

 

 

 

Community Additions

ADD
Show:
© 2014 Microsoft