Date.setDate
setDate – Set the day of the month, according to local time (1–31).
Description
Date.setDate(integer day)
Parameters
Name | Description | Type | Default | Optional |
---|---|---|---|---|
day | integer | No |
Return values
Integer. The new timestamp.
Examples
Example #1 – setDate example