Unix time

A way of writing a moment as the number of seconds since 1 January 1970 UTC.

In more detail

It ignores time zones, so two values can be subtracted directly to get a duration in seconds. The date +%s command prints the current value.

Example

date -u +%s

Related terms

Taught in

References