diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2011-08-10 11:31:18 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2011-08-10 11:31:18 +0000 |
commit | bbbaed2b5395e0a646dc618cd8c6bdd7dde25c81 (patch) | |
tree | 88bf10a027d3103814943c3bd80bc630457d46d5 /Doc | |
parent | 92ee9324a96cd503c2ebc82cf84c03ddb08bf434 (diff) | |
download | zsh-bbbaed2b5395e0a646dc618cd8c6bdd7dde25c81.tar.gz zsh-bbbaed2b5395e0a646dc618cd8c6bdd7dde25c81.tar.xz zsh-bbbaed2b5395e0a646dc618cd8c6bdd7dde25c81.zip |
29663: add $EPOCHREALTIME to zsh/datetime
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/Zsh/mod_datetime.yo | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Doc/Zsh/mod_datetime.yo b/Doc/Zsh/mod_datetime.yo index 145d4a181..514c43037 100644 --- a/Doc/Zsh/mod_datetime.yo +++ b/Doc/Zsh/mod_datetime.yo @@ -30,9 +30,17 @@ in seconds if tt(-r) is given) to var(scalar) instead of printing it. ) enditem() -The tt(zsh/datetime) module makes available one parameter: +The tt(zsh/datetime) module makes available several parameters: startitem() +vindex(EPOCHREALTIME) +item(tt(EPOCHREALTIME))( +A floating point value representing the number of seconds since +the epoch. The notional accuracy is to nanoseconds if the +tt(clock_gettime) call is available and to microseconds otherwise, +but in practice the range of double precision floating point and +shell scheduling latencies may be significant effects. +) vindex(EPOCHSECONDS) item(tt(EPOCHSECONDS))( An integer value representing the number of seconds since the |