Click or drag to resize
DateTimeController Class
This controller provides method for retrieving date time information from the server. Because time zones can vary from the client and therefore using javascript Date object only could lead to confusion, obtaining current date time should be always performed from the server.
Inheritance Hierarchy
SystemObject
  ApiController
    CMS.WebAnalyticsDateTimeController

Namespace: CMS.WebAnalytics
Assembly: CMS.WebAnalytics (in CMS.WebAnalytics.dll) Version: 9.0.0
Syntax
C#
public class DateTimeController : ApiController

The DateTimeController type exposes the following members.

Constructors
  NameDescription
Public methodDateTimeController
Top
Methods
  NameDescription
Public methodGetCurrentSiteDateTime
Gets current date time for the CurrentSite.
Top
See Also