NWSMUnpackDate

Unpacks a DOS packed date value into its separate year, month, and day values.

Syntax

  #include <smsutapi.h> 
   
  void NWSMUnPackDate ( 
     UINT16   date, 
     UINT16  *year, 
     UINT16  *month, 
     UINT16  *day);
  

Parameters

date

(IN) Specifies he date and time to unpack in DOS date and time format.

year

(OUT) Points to the unpacked year value.

month

(OUT) Points to the unpacked month value.

day

(OUT) Points to the unpacked day value.

Remarks

NWSMUnPackDate assumes that the input value is correct.

See Also

NWSMPackDate