Click or drag to resize

DateTimeUtilsTryParseUtc Method

Parses UTC timestamp and handles MinValue/MaxValue correctly

Namespace:  PDTec.IceNet.Sdk.Utils
Assembly:  PDTec.IceNet.Sdk (in PDTec.IceNet.Sdk.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax
C#
public static bool TryParseUtc(
	string utcString,
	out DateTime result
)

Parameters

utcString
Type: SystemString
UTC timestamp as string in ISO-8601 format
result
Type: SystemDateTime
The parsed UTC timestamp result

Return Value

Type: Boolean
true if the timestamp has been paresed correctly, otherwise false.
See Also