Click or drag to resize

WebExtensionsParseJsonTimestamp Method

Parses a JSON timestamp into a .NET DateTime.

Namespace: GSF.Web
Assembly: GSF.Web (in GSF.Web.dll) Version: 2.4.207-beta
Syntax
public static DateTime ParseJsonTimestamp(
	this string timestamp
)
View Source

Parameters

timestamp  String
JSON timestamp.

Return Value

DateTime
.NET DateTime parsed from JSON timestamp.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also