API Time.MJDToDate

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 Modified Julian Date into a Gregorian calendar date

Class hierarchy

Time

MJDToDate

Parameters

LONG MJD

The Modified Julian Date to alter

LONG Year

Returns the year the MJD represents
This parameter is returned back to the caller

ULONG Month

Returns the month the MJD represents starting at 1
This parameter is returned back to the caller

ULONG Date

Returns the date the MJD represents, starting at 1
This parameter is returned back to the caller


Return value

This call does not return a value


Detailed description

No additional information


Examples

Calling in a calculation

  • Add to a calculation icon:
    ::Time.MJDToDate(mjd, return_year, return_month, return_date)

No additional examples