$EPOCHREALTIME  –  Number of Seconds Since The Epoch

$EPOCHREALTIME represents the number of seconds since the epoch as floating point value.

$EPOCHSECONDS contains the same value, but as an integer. $epochtime also represents the same value, but as an array with two elements.

Examples

Print $EPOCHREALTIME
1
2
zmodload zsh/datetime
echo $EPOCHREALTIME
BashSupport Pro ist eine Zsh IDE mit Unterstützung für $EPOCHREALTIME - probieren Sie es jetzt aus!
© 2020–2024 Joachim Ansorg
Impressum
Datenschutz
Rechtliches