
The XSP library contains classes that access the browser context.

Represents common mathematical values and functions. Gets a string representing the UTC date and time. Gets a string representing the local time. setMonth (): It is used to set the month (0-11). setMinutes (): It is used to set the minutes (0-59). setMilliseconds (): It is used to set the milliseconds (0-999). setHours (): It is used to set the hour (0-23). setFullYear (): It is used to set the year (optionally month and day). Gets a string representation of the Date object. Method: setDate (): It is used to set the day as a number (1-31). Gets a string representing the local time using the format conventions of the underlying operating system. Gets a string representation of the Date object taking into account the host locale. Gets a string representing the local date using the format conventions of the underlying operating system.
Date setdate js iso#
Gets a string representing the local date and time in ISO format. Gets a string representing the local date. Optionally sets the second and millisecond. Optionally sets the minute, second, and millisecond in UTC. Optionally sets the minute, second, and millisecond. Gets the year in local time in an abbreviated format.Ĭreates a Date object representing a specified time.Ĭreates a Date object representing a specified time in ISO format.Įxtends the object with additional properties and methods. Example: In the following web document setDate() method sets the day of the month to 23 of a given. dayValue : An integer from 1 to 31, representing the day of the month. Gets the difference in minutes between UTC and local time. The setDate() method is used to set the day of the month for a given date according to local time. The Standard library contains classes for manipulating data of different types and performing common operations.Ĭreates a Date object representing the current date and time, or a specified date and time. The Runtime library contains classes that provide useful methods for globalization. This library provides access to the IBM® Domino® back-end. Represents a document in XML Document Object Model format. Entering the name of a global object instantiates it.

Global objects provide entry points to server-side scripts.
Date setdate js plus#
This reference describes the JavaScript™ language elements, Application Programming Interfaces (APIs), and other artifacts that you need to create scripts, plus the XPages simple actions.
