2.2.1.4.1 SMB_DATE

This is a 16-bit value in little-endian byte order used to encode a date. An SMB_DATE value SHOULD be interpreted as follows. The date is represented in the local time zone of the server. The following field names are provided for reference only.

Field name and bitmask

Description

YEAR

0xFE00

The year. Add 1980 to the resulting value to return the actual year.<17>

MONTH

0x01E0

The month. Values range from 1 to 12.

DAY

0x001F

The date. Values range from 1 to 31.