Re: Day of week in straight TCL

Homepage Clovertech Forums Read Only Archives Cloverleaf Cloverleaf sending day of the week Re: Day of week in straight TCL

#56638
Tom Henderson
Participant

set day_of_week [clock format [clock seconds] -format “%A”]

Which looks more complicated, but eliminates having to exec another process just to get the date

This returns the full day of the week.  If you want just the 3-letter abbrevation (Sun, Mon, Tue, etc.), use the “%a” format code

Forum Statistics

Registered Users
5,115
Forums
28
Topics
9,291
Replies
34,426
Topic Tags
286
Empty Topic Tags
10