TypeConversion.To8601String Method (TimeSpan)

 

Convert a TimeSpan object into an 8601-formatted string.

Namespace:   Microsoft.WindowsAzure.Common.Internals
Assembly:  Microsoft.WindowsAzure.Common (in Microsoft.WindowsAzure.Common.dll)

<ExtensionAttribute>
Public Shared Function To8601String (
	timespan As TimeSpan
) As String

Parameters

timespan
Type: System.TimeSpan

The TimeSpan object to convert.

Return Value

Type: System.String

The TimeSpan in 8601 format.

Return to top
Show: