TimeHelpers.ParseIso8601Time Method (String)
Converts time from the string date format to a DateTime object.
Namespace: Microsoft.ConfigurationManagement.Messaging.Framework
Assembly: Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)
Syntax
public static DateTime ParseIso8601Time(
string time
)
public:
static DateTime ParseIso8601Time(
String^ time
)
Public Shared Function ParseIso8601Time (
time As String
) As Date
Parameters
time
Type: System.StringTime, in string date/time format.
Return Value
Type: System.DateTime
DateTime representing the date/time format.
Exceptions
Exception | Condition |
---|---|
FormatException | Time was null, empty, or improperly formatted. |
See Also
ParseIso8601TimeāOverload
TimeHelpers Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace
Return to top