This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Get date and time

Old posts that have not been replied to for several years.
Locked
t
tR
Voice
Posts: 19
Joined: Wed Dec 12, 2001 8:00 pm

Get date and time

Post by tR »

Hi,

how i get the actual Date and Time from Tcl and format it to something like dd.mm.yyyy hh:mm:ss ? thanx
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Code: Select all

set date [clock format [clock seconds] -format "%d.%m.%Y %H:%M:%S"]
Locked