diff options
author | Svyatoslav Mishyn <juef@openmailbox.org> | 2015-07-09 08:30:46 +0300 |
---|---|---|
committer | Svyatoslav Mishyn <juef@openmailbox.org> | 2015-07-09 08:30:46 +0300 |
commit | e0f1f32f752885fb1c776c254fbe73412fbda682 (patch) | |
tree | cfe41de325093d5fef06184c74e141cc4c098184 /jim_tcl.txt | |
parent | 2ad6cd71d62fdafb2eba06bd47882c9f464489e1 (diff) | |
download | jimtcl-e0f1f32f752885fb1c776c254fbe73412fbda682.zip jimtcl-e0f1f32f752885fb1c776c254fbe73412fbda682.tar.gz jimtcl-e0f1f32f752885fb1c776c254fbe73412fbda682.tar.bz2 |
docs: add desc for "clock {clicks, microseconds, milliseconds}"
Diffstat (limited to 'jim_tcl.txt')
-rw-r--r-- | jim_tcl.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/jim_tcl.txt b/jim_tcl.txt index 6dcee2e..899e230 100644 --- a/jim_tcl.txt +++ b/jim_tcl.txt @@ -1828,6 +1828,15 @@ clock +*clock seconds*+:: Returns the current time as seconds since the epoch. ++*clock clicks*+:: + Returns the current time in `clicks'. + ++*clock microseconds*+:: + Returns the current time in microseconds. + ++*clock milliseconds*+:: + Returns the current time in milliseconds. + +*clock format* 'seconds' ?*-format* 'format?'+:: Format the given time (seconds since the epoch) according to the given format. See strftime(3) for supported formats. |