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

Converts a string CIM_DATETIME time 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 
ParseSmsTime(
	
string 
time
)
Public 
Shared 
Function 
ParseSmsTime ( _
	
time 
As 
String _
) 
As 
DateTime
public:
static 
DateTime 
ParseSmsTime(
	
String^ 
time
)

Parameters

time
String
Timestamp to parse

Return Value

DateTimerepresenting the same time format

See Also