VirtualString.ParseCalendarDate(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.000000000" (epoch 21544.500370370).

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

 

Method Signature

VirtualString.ParseCalendarDate(

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:

timespan

Units:

day

 

 

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

 

Syntax

myTimeSpan1 = myString1.ToLower.ParseCalendarDate(myString2);

 

 

See also

VirtualString Object

VirtualString.ParseCalendarDate