[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Converts an existing DateTimeto ISO 8601 format

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

Syntax

                 
  C#     Visual Basic     Visual C++  
public 
static 
string 
ToIso8601Time(
	
this 
DateTime 
time
)
<
ExtensionAttribute> _
Public 
Shared 
Function 
ToIso8601Time ( _
	
time 
As 
DateTime _
) 
As 
String
[
ExtensionAttribute]
public:
static 
String^ 
ToIso8601Time(
	
DateTime 
time
)

Parameters

time
DateTime
Time to convert

Return Value

String formatted ISO 8601 time

See Also