currentTimeInMillis currentTimeInMillis

Returns current time in epoch milliseconds.

Category

Date

Function syntax

currentTimeInMillis()

Parameters

This function uses no parameters.

Signatures and returned type

currentTimeInMillis()

Returns an integer.

Examples

currentTimeInMillis()

Returns “1544712617131”.

recommendation-more-help
b22c9c5d-9208-48f4-b874-1cefb8df4d76