API Time.DateToMJD
From Flowcode Help
Jump to navigationJump to search<sidebar>API Contents</sidebar> Converts a Gregorian calendar date into a Modified Julian Date
Contents
Parameters
LONG Year
- The year the MJD represents
ULONG Month
- The month the MJD represents starting at 1
ULONG Date
- The date the MJD represents, starting at 1
Return value
No additional information
Detailed description
No additional information
Examples
Calling in a calculation
- Declare a variable 'result' of type LONG
- Add to a calculation icon:
result = ::Time.DateToMJD(year, month, date)
No additional examples