40 int year, month, day, hour,
min, sec;
51 sprintf(datetime,
"%04d-%02d-%02dT%02d:%02d:%02dZ",year,month,day,hour,min,sec);
#define MTK_ERR_CODE_JUMP(code)
MTKt_status MtkJulianToCal(double jd, int *year, int *month, int *day, int *hour, int *min, int *sec)
Convert Julian date to calendar date.
#define MTK_ERR_COND_JUMP(code)
MTKt_status MtkJulianToDateTime(double jd, char datetime[MTKd_DATETIME_LEN])
Convert Julian date to date and time (ISO 8601)
#define MTKd_DATETIME_LEN