Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 477 Bytes

File metadata and controls

32 lines (22 loc) · 477 Bytes
description
This section contains reference documentation for the now function.

now

Return current time as epoch millis.

Signature

now()

Usage Examples

select now() AS now
FROM ignoreMe
now
1639150454255

This function is typically used in predicate to filter on timestamp for recent data. e.g. filter data on recent 1 day(86400 seconds)

SELECT * 
FROM tableName
WHERE tsInMillis > now() - 86400000