Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (19 sloc) 437 Bytes
layout language permalink command related_commands
api-command
Java
api/java/to_epoch_time/
toEpochTime
now time
now/
time/

Command syntax

{% apibody %} time.toEpochTime() → number {% endapibody %}

Description

Convert a time object to its epoch time.

Example: Return the current time in seconds since the Unix Epoch with millisecond-precision.

r.now().toEpochTime().run(conn);
You can’t perform that action at this time.