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

Converts the string date format to DateTime

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

Syntax

                 
  C#     Visual Basic     Visual C++  
public 
static 
DateTime 
ParseIso8601Time(
	
string 
time
)
Public 
Shared 
Function 
ParseIso8601Time ( _
	
time 
As 
String _
) 
As 
DateTime
public:
static 
DateTime 
ParseIso8601Time(
	
String^ 
time
)

Parameters

time
String
String date time format

Return Value

DateTimerepresenting the date/time format

Exceptions

Exception Condition
System . . :: . . FormatException Time was null, empty or improperly formatted

See Also