NWUnpackTime

Unpacks a packed time 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)  NWUnpackTime  ( 
     nuint16          time,  
     NW_TIME  N_FAR  *sTime);
  

Pascal Syntax

  #include <nwmisc.inc> 
   
  Procedure NWUnpackTime 
    (time : nuint16; 
     Var sTime : NW_TIME 
  );
  

Parameters

time
(IN) Specifies the time in packed format.
sTime
(OUT) Points to the NW_TIME structure.

Remarks

The bits are defined as follows:

  0-4     Seconds divided by two 
  5-10    Minutes 
  11-15   Hours (0-23)
  

See Also

NWPackDate, NWPackDateTime, NWPackTime, NWUnpackDate, NWUnpackDateTime