Spacecraft.EpochFormat Method

Top 

Description

Returns a formatted string representing an epoch in time.

 

This method has been Deprecated. Please use Spacecraft.Epoch.EpochFormat instead.

 

The format string can include the date and time formats shown in the Parsing Dates and Times reference, including month, day, year, hours, minutes, and seconds. If the String does not fully define a time, the necessary data will be filled in using the reference time.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode.

 

Overload List

Signatures

Return Value

Description

Spacecraft.EpochFormat()

String

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

Spacecraft.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 Spacecraft Epoch is assumed to be in TAI, the String is returned in UTC.

Spacecraft.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 Spacecraft Epoch in TAI, and an output String in UT1 time, the timeFrameConversion would be "TAI-UT1".

 

 

See also

Spacecraft Object

Parsing Dates and Times

Spacecraft Propagation Guide

Coverage and Contact Analysis Guide