Difference between revisions of "API Time.SecondsToMJD"
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> | ||
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
Contents
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
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