about summary refs log tree commit diff
path: root/Doc/Zsh/mod_datetime.yo
blob: cf5ca4379aed439c3d360bae5329b9c974ebd172 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
COMMENT(!MOD!zsh/datetime
Some date/time commands and parameters.
!MOD!)
The tt(zsh/datetime) module makes available one builtin command:

startitem()
findex(strftime)
cindex(date string, printing)
item(tt(strftime) var(format) var(epochtime) )(
Output the date denoted by var(epochtime) in the var(format)
specified.
)
enditem()

The tt(zsh/datetime) module makes available one parameter:

startitem()
vindex(EPOCHSECONDS)
item(tt(EPOCHSECONDS))(
An integer value representing the number of seconds since the
epoch.
)
enditem()