NWUnpackDate

Unpacks a packed date into the passed structure

NetWare Server:3.11, 3.12, 3.2, 4.x, 5.x, 6.x
Platform:NLM, Windows NT, Windows 95, Windows 98
Service:Time/Date Manipulation

Syntax

  #include <nwmisc.h> 
  or 
  #include <nwcalls.h> 
   
  N_EXTERN_LIBRARY (void)  NWUnpackDate  ( 
     nuint16          date,  
     NW_DATE  N_FAR  *sDate);
  

Pascal Syntax

  #include <nwmisc.inc> 
   
  Procedure NWUnpackDate 
    (date : nuint16; 
     Var sDate : NW_DATE 
  );
  

Parameters

date
(IN) Specifies the date in packed format.
sDate
(OUT) Points to the NW_DATE structure.

Return Values

None

Remarks

Many functions return dates in a packed format identical to that defined by DOS. The bits are defined as follows:

  0-4    Day 
  5-8    Month 
  9-15   Year minus 1980
  

See Also

NWPackDate, NWPackDateTime, NWPackTime, NWUnpackDateTime, NWUnpackTime