Packs separate date values into a DOS packed date value.
#include <smsutapi.h> UINT16 NWSMPackDate ( UINT16 year, UINT16 month, UINT16 day);
(IN) Specifies the year value, in DOS date and time format, to pack (minimum value is 1980).
(IN) Specifies the month value, in DOS date and time format, to pack (1-12).
(IN) Specifies the day value, in DOSdate and time format, to pack (1-31).
If NWSMPackDate is successful, it returns the packed date.
NWSMPackDate returns the year, month, and day as a 16-bit DOS packed value as follows:
yyyyyyymmmmddddd
NWSMPackDate assumes that the input values are correct.