VirtualString.EpochScan(String) Method

Top 

Description

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.000" (epoch 21544.500370370).

 

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.

 

Method Signature

VirtualString.EpochScan(

String formatString)

 

 

Arguments

formatString


Description:

Specifies the format of the String object. 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 a format string is not specified, the format "Mmm DD YYYY hh:mm:ss.fs" will be used.

 

 

 

Return Value

Type:

number

Units:

day

 

 

Returns the calendar-based epoch specified by the String in the specified numeric time system.

 

Syntax

myVariable1 = myString1.ToLowercase().EpochScan(myString2);

 

 

See also

VirtualString Object

VirtualString.EpochScan

Parsing Dates and Times