Variable.EpochFormat Method

Top 

Description

Returns a formatted string representing an epoch in time.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to nanosecond timing precision mode.

 

Overload List

Signatures

Return Value

Description

Variable.EpochFormat()

String

Returns a formatted string representing an epoch in time, using the standard FreeFlyer calendar format ("Mmm DD YYYY hh:mm:ss.fs"). The calling Variable Epoch is assumed to be in TAI, the String is returned in UTC.

Variable.EpochFormat(String formatSpecification)

String

Returns a formatted string representing an epoch in time. The format string formatSpecificationcan include the date and time formats shown in the "Parsing Dates and Times" reference in the Help File, including month, day, year, hours, minutes, and seconds. The calling Variable Epoch is assumed to be in TAI, the String is returned in UTC.

Variable.EpochFormat(String formatSpecification, String timeFrameConversion)

String

Returns a formatted string representing an epoch in time. The format string formatSpecification can include the date and time formats shown in the "Parsing Dates and Times" reference in the Help File, including month, day, year, hours, minutes, and seconds. The conversion string timeFrameConversion specifies the time system conversion that is applied. For example, for a calling Variable Epoch in TAI, and an output String in UT1 time, the timeFrameConversion would be "TAI-UT1".

 

 

See also

Variable Object

Parsing Dates and Times

Matrix, Array, and Variable Math Guide