DTTOGMT C-3

NAME

dttogmt - convert DATE, TIME pair into operating system GMT time

SYNOPSIS

#include <cbase/dtypes.h>

long dttogmt (d, t)

DATE d;

TIME t;

DESCRIPTION

The function dttogmt converts an RMS DATE value and RMS TIME value pair into the corresponding operating system GMT time value. The operating system time value is the number of seconds from 00:00:00 GMT, January 1, 1970.

The TIME parameter t is assumed to be in local time, not GMT time.

SEE ALSO

atodate(C-3), atotime(C-3), time(2)

DIAGNOSTICS

If the DATE parameter d is before 01/01/70, dttogmt returns a value of -1.