NWPackTime
Packs a time into an nuint16
#include <nwmisc.h>
or
#include <nwcalls.h>
N_EXTERN_LIBRARY (nuint16) NWPackTime (
const NW_TIME N_FAR *sTime);
#include <nwmisc.inc>
Procedure NWPackTime
(const sTime : pNW_TIME
) : nuint16;
Returns the packed time upon successful completion.
The bits are defined as follows:
0-4 seconds divided by two 5-10 minutes 11-15 hours (0-23)
NWPackTime does no validity checking on the passed information. The programmer should ensure times in the associated structures are valid before passing them to NWPackTime.
NWPackDate, NWPackDateTime, NWUnpackDate, NWUnpackDateTime, NWUnpackTime