Jump to content

API Time.SecondsToMJD: Difference between revisions

From Flowcode Help
JonnyW (talk | contribs)
XML import for latest API
 
JonnyW (talk | contribs)
XML import
Line 1: Line 1:
<sidebar>API Contents</sidebar>
<sidebar>API Contents</sidebar>
Returns the Modified Julian Date given by the number of seconds since a specified epoch
Returns the Modified Julian Date given by the number of seconds since a specified epoch

Revision as of 15:58, 16 January 2014

<sidebar>API Contents</sidebar> Returns the Modified Julian Date given by the number of seconds since a specified epoch

Class hierarchy

Time

SecondsToMJD

Parameters

LONG Seconds

The number of seconds since the specified epoch

LONG EpochMJD

The modified Julian Date which would return zero seconds

ULONG EpochMS

The number of milliseconds wich would return zero seconds

LONG Millisecs

Returns the number of milliseconds into the MJD that Seconds represents
This parameter is returned back to the caller


Return value

LONG

Returns the Modified Julian Date given by the number of seconds since a specified epoch


Detailed description

No additional information


Examples

Calling in a calculation

  • Declare a variable 'result' of type LONG
  • Add to a calculation icon:
    result = ::Time.SecondsToMJD(seconds, epochmjd, epochms, return_millisecs)

No additional examples