API Time.SecondsToMJD

From Flowcode Help
Jump to navigationJump to search

<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