OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
unix2isodate.c File Reference
#include <timeutils.h>
#include <genutils.h>
Include dependency graph for unix2isodate.c:

Go to the source code of this file.

Functions

char * unix2isodate (double dtime, char zone)
 
double isodate2unix (const char *isodate)
 

Function Documentation

◆ isodate2unix()

double isodate2unix ( const char *  isodate)

Definition at line 61 of file unix2isodate.c.

◆ unix2isodate()

char* unix2isodate ( double  dtime,
char  zone 
)

creates a time string "1994-11-05T13:15:30.123Z"

Parameters
dtimeunix time as a double
zonetime zone character 'G'=gmt, 'L'=local
Returns
ISO 8601 time string (internal memory)

Definition at line 10 of file unix2isodate.c.