MILLISECOND

Description

Extracts the millisecond (0–999) from a Datetime value.

Syntax

MILLISECOND(datetime) -> Integer

Parameters

ParameterData TypeRequiredDescription
datetimeDatetimeYesThe Datetime value from which the millisecond is extracted.

Example

MILLISECOND(NOW())
-- Returns 418 (if now = 2024-09-18T15:25:22.418Z).

Related Formula