TimeUtilities.TimeIntervalToString(TimeSpan, String) Method

Top 

Description

Returns a formatted String representing the specified time interval.

 

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.

 

Method Signature

TimeUtilities.TimeIntervalToString(

TimeSpan timeInterval,


String format)

 

 

Arguments

timeInterval


Description:

The time interval value that will be converted to a string format.

Units:

day

 

 

format


Description:

Specifies the format of the output String. The format specification can include the time formats shown in the "Parsing Dates and Times" reference in the Help File, including days, hours, minutes, and seconds.

 

 

 

Return Value

Type:

string

 

 

Returns a formatted String representing the specified time interval.

 

Syntax

myString1 = TimeTools.TimeIntervalToString(myTimeSpan1, myString2);

 

 

See also

TimeUtilities Object

TimeSpans Guide

Parsing Dates and Times