timespan::to-string

Converts the specified System.TimeSpan to its equivalent string representation.
string timespan::to-string(value)

Parameters

Name Type Description
value TimeSpan A System.TimeSpan to convert.

Return Value

The string representation of value. The format of the return value is of the form: [-][d.]hh:mm:ss[.ff].

Requirements

Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Functions