Difference between revisions of "API Time.DateToMJD"

From Flowcode Help
Jump to navigationJump to search
(XML import for latest API)
 
(XML import)
 
Line 1: Line 1:
 
 
 
<sidebar>API Contents</sidebar>
 
<sidebar>API Contents</sidebar>
 
Converts a Gregorian calendar date into a Modified Julian Date
 
Converts a Gregorian calendar date into a Modified Julian Date

Latest revision as of 15:58, 16 January 2014

<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