$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.
Links
Examples
- Print
$EPOCHREALTIME 1 2zmodload zsh/datetime echo $EPOCHREALTIME
BashSupport Pro 是一款支持 epochrealtime** 的 **Zsh 集成开发环境 - 立即试用!