The standard JavaScript Date object

The Date object is a standard built-in JavaScript object and supports full dates only. This object has built-in methods that can be used to retrieve specific date components.

Note:

If you need to work with partial dates see Handle partial dates in custom rules and The custom C1Date object.
Method Description
getFullYear() Get year as a four digit number (yyyy).
getMonth() Get month as a number (0-11).
getDate() Get day as a number (1-31).
getDay() Get weekday as a number (0-6).
getHours() Get hour (0-23).
getMinutes() Get minute (0-59).
getSeconds() Get second (0-59).

For more information, you may refer to any official JavaScript documentation resources.