MISR Toolkit  1.5.1
Functions
MtkJulianToDateTime.c File Reference
#include "MisrUtil.h"
#include "MisrError.h"
#include <math.h>
#include <string.h>

Go to the source code of this file.

Functions

MTKt_status MtkJulianToDateTime (double jd, char datetime[MTKd_DATETIME_LEN])
 Convert Julian date to date and time (ISO 8601) More...
 

Function Documentation

◆ MtkJulianToDateTime()

MTKt_status MtkJulianToDateTime ( double  jd,
char  datetime[MTKd_DATETIME_LEN] 
)

Convert Julian date to date and time (ISO 8601)

Returns
MTK_SUCCESS if successful.
Example:
In this example, we convert from the julian date 2453728.27313 to date and time (ISO 8601).
status = MtkJulianToDateTime(2453728.27313, datetime);
Parameters
[in]jdJulian date
[out]datetimeDate and time (ISO 8601)

Definition at line 34 of file MtkJulianToDateTime.c.


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