MISR Toolkit  1.5.1
Functions
MtkDateTimeToJulian.c File Reference
#include "MisrUtil.h"
#include "MisrError.h"
#include <stdio.h>

Go to the source code of this file.

Functions

MTKt_status MtkDateTimeToJulian (const char *datetime, double *jd)
 Convert date and time (ISO 8601) to Julian date. More...
 

Function Documentation

◆ MtkDateTimeToJulian()

MTKt_status MtkDateTimeToJulian ( const char *  datetime,
double *  jd 
)

Convert date and time (ISO 8601) to Julian date.

Returns
MTK_SUCCESS if successful.
Example:
In this example, we convert from the date and time 2002-05-02 02:00:00 to Julian date.
status = MtkDateTimeToJulian("2002-05-02T02:00:00Z", &julian);
Parameters
[in]datetimeDate and time (ISO 8601)
[out]jdJulian date

Definition at line 33 of file MtkDateTimeToJulian.c.


MISR Toolkit - Copyright © 2005 - 2020 Jet Propulsion Laboratory
Generated on Fri Jun 19 2020 22:49:53