dostounix()              Convert Date and Time to UNIX Time Format
 
 #include   <dos.h>
 
 long         dostounix(dateptr,timeptr);
 struct date  *dateptr;                  Pointer to date structure
 struct time  *timeptr;                  Pointer to time structure
 
    dostounix() converts a date and time, as returned from getdate() and
    gettime() into UNIX-format time. 'dateptr' points to a date structure.
    'timeptr' points to a time structure.  Both contain valid DOS date and
    time information.
 
    Returns:    The UNIX version of current time: number of seconds since
                January 1, 1970 (GMT) is returned.

Seealso:



This page last updated on Fri Nov 30 10:48:32 MSK 2001
Copyright © 1992-2001, Vitaly Filatov, Moscow, Russia
Webmaster