Convert a SYSTEMTIME structure to a Julian date value.
BOOL SystemTimeToJulianDate( double * lpdDate, SYSTEMTIME * lpSysTime, double* lpdMillSec = NULL)
TRUE if successful, else FALSE
EX1
void SystemTimeToJulianDate_ex1() { SYSTEMTIME st; GetSystemTime(&st); // gets current time double dDate; SystemTimeToJulianDate(&dDate, &st); out_str(get_date_str(dDate, LDF_LONG)); }
origin.h