API Time.DateToMJD

From Flowcode Help
Revision as of 15:58, 16 January 2014 by JonnyW (talk | contribs) (XML import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

<sidebar>API Contents</sidebar> Converts a Gregorian calendar date into a Modified Julian Date

Class hierarchy

Time

DateToMJD

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

LONG

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