Click or drag to resize
DateTimeExtensions Class
Inheritance Hierarchy

Namespace: Telerik.Licensing
Assembly: Telerik.WinControls (in Telerik.WinControls.dll) Version: 2018.2.619.40 (2018.2.619.40)
public static class DateTimeExtensions

The DateTimeExtensions type exposes the following members.

Public methodStatic memberFromASPNetAjax
Converts an ASP.NET Ajax JSON string to DateTime
Public methodStatic memberFromIso8601
Converts an ISO 8601 time/date format string, which is used by JSON and others, into a DateTime object.
Public methodStatic memberToASPNetAjax
The ASP.NET Ajax team made up their own time date format for JSON strings, and it's explained in this article: Converts a DateTime to the ASP.NET Ajax JSON format.
Public methodStatic memberToIso8601
Converts a DateTime object into an ISO 8601 string. This version always returns the string in UTC format.
See Also