MILLISECOND
Description
Extracts the millisecond (0–999) from a Datetime value.
Syntax
MILLISECOND(datetime) -> Integer
Parameters
| Parameter | Data Type | Required | Description |
|---|---|---|---|
| datetime | Datetime | Yes | The Datetime value from which the millisecond is extracted. |
Example
MILLISECOND(NOW())
-- Returns 418 (if now = 2024-09-18T15:25:22.418Z).