RosettaCodeData/Task/Date-format/Tcl/date-format.tcl
2023-07-01 13:44:08 -04:00

3 lines
117 B
Tcl

set now [clock seconds]
puts [clock format $now -format "%Y-%m-%d"]
puts [clock format $now -format "%A, %B %d, %Y"]