diff options
author | dgp <dgp@users.sourceforge.net> | 2016-04-04 15:53:30 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2016-04-04 15:53:30 (GMT) |
commit | d1bde869dce8d1d410b5aabddeace13133d135fb (patch) | |
tree | e04c15709077d579df745f8293a26e7636bf5f22 /doc/clock.n | |
parent | 5b2c3db492538b64ee77ef4873492a9a101f55bc (diff) | |
parent | e2730492d054d77c3b579e7c156e4365bd744bae (diff) | |
download | tcl-d1bde869dce8d1d410b5aabddeace13133d135fb.zip tcl-d1bde869dce8d1d410b5aabddeace13133d135fb.tar.gz tcl-d1bde869dce8d1d410b5aabddeace13133d135fb.tar.bz2 |
close fork
Diffstat (limited to 'doc/clock.n')
-rw-r--r-- | doc/clock.n | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/doc/clock.n b/doc/clock.n index 889a5da..ac50e36 100644 --- a/doc/clock.n +++ b/doc/clock.n @@ -89,10 +89,9 @@ have 59 or 61 seconds. .TP \fIunit\fR One of the words, \fBseconds\fR, \fBminutes\fR, \fBhours\fR, -\fBdays\fR, \fBweeks\fR, \fBmonths\fR, or \fByears\fR, or -any unique prefix of such a word. Used in conjunction with \fIcount\fR -to identify an interval of time, for example, \fI3 seconds\fR or -\fI1 year\fR. +\fBdays\fR, \fBweekdays\fR, \fBweeks\fR, \fBmonths\fR, or \fByears\fR. +Used in conjunction with \fIcount\fR to identify an interval of time, +for example, \fI3 seconds\fR or \fI1 year\fR. .SS "OPTIONS" .TP \fB\-base\fR time @@ -175,8 +174,7 @@ given as its first argument. The remaining arguments (other than the possible \fB\-timezone\fR, \fB\-locale\fR and \fB\-gmt\fR options) are integers and keywords in alternation, where the keywords are chosen from \fBseconds\fR, \fBminutes\fR, \fBhours\fR, -\fBdays\fR, \fBweeks\fR, \fBmonths\fR, or \fByears\fR, or -any unique prefix of such a word. +\fBdays\fR, \fBweekdays\fR, \fBweeks\fR, \fBmonths\fR, or \fByears\fR. .PP Addition of seconds, minutes and hours is fairly straightforward; the given time increment (times sixty for minutes, or 3600 for hours) @@ -213,7 +211,8 @@ the given time to a calendar day and time of day in the appropriate time zone and locale. The requisite number of days (weeks are converted to days by multiplying by seven) is added to the calendar day, and the date and time are then converted back to a count of seconds from -the epoch time. +the epoch time. The \fBweekdays\fR keyword is similar to \fBdays\fR, +with the only difference that weekends - Saturdays and Sundays - are skipped. .PP Adding and subtracting a given number of days across the point that the time changes at the start or end of summer time (Daylight Saving Time) |