Click or drag to resize
DateTimeExtensions Class
Inheritance Hierarchy
SystemObject
  Telerik.LicensingDateTimeExtensions

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

The DateTimeExtensions type exposes the following members.

Methods
  NameDescription
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: http://msdn.microsoft.com/en-us/library/bb299886.aspx 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.
Top
See Also