ToMilliSeconds

Description

Returns the number of milliseconds elapsed since 1970-01-01T00:00:00Z for a datetime value.

Syntax

ToMilliSeconds(datetime_expression)

Examples

ToMilliSeconds(ToDate('2015-02-04T13:27:23.950Z')) returns 1423056443950

Return value datatype

Long

Impact of null value

If datetime_value is null, returns null.

Feedback and Knowledge Base