Date.setTime
setTime – Set the number of milliseconds since 1 Jan 1970.
Description
Date.setTime(integer timestamp)
Parameters
Name | Description | Type | Default | Optional |
---|---|---|---|---|
timestamp | integer | No |
Return values
Integer. The new timestamp.
Examples
Example #1 – setTime example