NWUnpackDateTime
Unpacks a packed date and time into the passed structures
#include <nwmisc.h> or #include <nwcalls.h> void N_API NWUnpackDateTime ( nuint32 dateTime, NW_DATE N_FAR *sDate, NW_TIME N_FAR *sTime);
#include <nwmisc.inc> Procedure NWUnpackDateTime (dateTime : nuint32; Var sDate : NW_DATE; Var sTime : NW_TIME );
Many functions return dates in a packed format identical to that defined by DOS. The time occupies the low order word and the date occupies the high order word. The bits are defined as follows:
0-4 Seconds divided by two 5-10 Minutes 11-15 Hours (0-23) 16-20 Day 21-24 Month 25-31 Year minus 1980
See timedate.c for sample code.
NWPackDate, NWPackDateTime, NWPackTime, NWUnpackDate, NWUnpackTime