#include "MisrUtil.h"
#include "MisrError.h"
#include <math.h>
Go to the source code of this file.
◆ calday()
static void calday |
( |
int |
julianDayNum, |
|
|
int * |
year, |
|
|
int * |
month, |
|
|
int * |
day |
|
) |
| |
|
static |
◆ JulianDateSplit()
static double* JulianDateSplit |
( |
double |
inputJD[2], |
|
|
double |
outputJD[2] |
|
) |
| |
|
static |
◆ MtkUtcJdToUtc()
MTKt_status MtkUtcJdToUtc |
( |
double |
jdUTCin[2], |
|
|
char |
utc_datetime[MTKd_DATETIME_LEN] |
|
) |
| |
Convert calendar date to Julian date.
- Returns
- MTK_SUCCESS if successful.
- Example:
- In this example, we convert from the calendar date 2002-05-02 02:00:00 to Julian date.
- Parameters
-
[in] | jdUTCin | UTC Julian date |
[out] | utc_datetime | UTC Date time |
Definition at line 112 of file MtkUtcJdToUtc.c.