Share via


TimeHelpers.ToIso8601Time Method (DateTime)

 

Converts an existing DateTime object to ISO 8601 format.

Namespace:   Microsoft.ConfigurationManagement.Messaging.Framework
Assembly:  Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)

Syntax

public static string ToIso8601Time(
    this DateTime time
)
public:
[ExtensionAttribute]
static String^ ToIso8601Time(
    DateTime time
)
<ExtensionAttribute>
Public Shared Function ToIso8601Time (
    time As Date
) As String

Parameters

Return Value

Type: System.String

ISO 8601 time in string format.

See Also

TimeHelpers Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace

Return to top