$EPOCHSECONDS
–
Number of Seconds Since The Epoch
$EPOCHSECONDS represents the number of seconds since the epoch as integer value.
$EPOCHREALTIME contains the same value, but as a floating point value.
$epochtime also represents the same value, but as an array with two elements.
Links
Examples
- Print
$EPOCHSECONDS 1 2zmodload zsh/datetime echo $EPOCHSECONDS
BashSupport Pro ist eine Zsh IDE mit Unterstützung für $EPOCHSECONDS - probieren Sie es jetzt aus!