String.ParseCalendarDate Method

Top 

Description

Converts the calendar-based epoch specified by the String into a numeric time system. By default, this method will assume the String is formatted in the FreeFlyer calendar format of "Mmm DD YYYY hh:mm:ss.fs" in UTC, and convert the time to the TAI numeric time system.

 

For a custom time conversion using a different calendar format or to convert to or from a different time system, use the TimeTools object instead.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

 

Overload List

Signatures

Return Value

Description

String.ParseCalendarDate()

TimeSpan

Converts the calendar-based epoch specified by the String into a numeric time system. By default, this method will assume the String is formatted in the standard FreeFlyer calendar format ("Mmm DD YYYY hh:mm:ss.fs") in UTC, and convert the time to the TAI numeric time system.

String.ParseCalendarDate(String formatString)

TimeSpan

Converts the calendar-based epoch specified by the String into the TAI numeric time system. The format of the input String is given by formatString. The format string 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. If formatString does not fully define a time, the necessary data will be filled in using the reference time "Jan 01 2000 00:00:00.000000000" (epoch 21544.500370370).

 

 

See also

String Object

Parsing Dates and Times

Parsing Arbitrary String Data

Parsing Arbitrary String Data