TimeUtilities.ConvertToCalendarDate Method

Top 

Description

Returns a formatted calendar String of the date and time represented by the input time value.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

Click here to see the documentation for this object in millisecond timing precision mode.

 

Overload List

Signatures

Return Value

Description

TimeUtilities.ConvertToCalendarDate(TimeSpan time, String timeSystem, String timeReference)

String

Returns a calendar String in the default format of the date and time represented by the input time value.

TimeUtilities.ConvertToCalendarDate(TimeSpan time, String timeSystem, String timeReference, String calendarFormat)

String

Returns a calendar String in the format specified by calendarFormat of the date and time represented by the input time value. The allowed patterns are documented in the "Date and Time Format Specifiers" tables on the "Parsing Dates and Times" page in the Help File. Note that arbitrary text can be included in the pattern by surrounding the text with double asterisks.

 

 

See also

TimeUtilities Object

TimeSpans Guide

Parsing Dates and Times