VirtualString.EpochFormat(String) Method

Top 

Description

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

 

This method has been Deprecated. Please use String.EpochScan.EpochFormat instead.

 

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.EpochFormat(

String formatSpecification)

 

 

Arguments

formatSpecification


Description:

Specifies the format of the output String. The format specification 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 user can also include custom characters by surrounding them with **asterisks**. If a format string is not specified, the format "Mmm DD YYYY hh:mm:ss.fs" will be used.

 

 

 

Return Value

Type:

string

 

 

Returns a formatted string representing an epoch in time.

 

Syntax

myString1 = myString2.ToLowercase().EpochFormat(myString3);

 

 

See also

VirtualString Object

VirtualString.EpochFormat

Parsing Dates and Times