current time seconds - part-cw/lambdanative GitHub Wiki

(current-time-seconds)

current-time-seconds returns the current time in seconds, also known as the Unix epoch. This function declaration will be overwritten if a timefunc is specified in runtime!

Note: The use of ##now is preferred in non-standalone applications when the time of the last event loop is sufficiently accurate, as the overhead of this operation is not zero.

Example

Example 1: Get the current Unix epoch:

> (current-time-seconds)
1376028270.533196