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