Date.setMinutes
setMinutes – Set the minutes, according to local time (0–59).
Description
Date.setMinutes(integer minutes)
Parameters
Name | Description | Type | Default | Optional |
---|---|---|---|---|
minutes | integer | No |
Return values
Integer. The new timestamp.
Examples
Example #1 – setMinutes example