Date Object Methods
-
Date Object Overview
The Date object enables basic storage and retrieval of dates and times, and can be used to set timestamps, do calculations of time differences and to ...
-
Constructors
You can create a new instance of the Date object in three ways:dateObj = new Date();dateObj = new Date(dateVal);dateObj = new Date(year, month, date{,...
-
Date Object Methods
The Date object has two static methods. They are called static because they are called without creating an instance of the Date object. They are parse...
-
Date Conversion Methods
Two conversion methods are available for dates. See Date Object Overview for more information on timezones on Forsta Plus servers. valueOfdateObj.valueOf()va...
-
Methods for Setting or Retrieving Values of Parts of Dates
The methods with UTC in the method name use Universal Coordinated Time. The other methods use local time; since these are server-side scripts, the time will ...