finding the timestamp
Posted by priyadharshini (priyadharshini), 12 May 2008hi,
using tcl I need to create text file to store the output of a script. The text file's name should be the timestamp value of when the script has started to run.
Is there any command to get the timestamp value in tcl?
Posted by admin (Graham Ellis), 12 May 2008clock seconds
Posted by chirag1184 (chirag1184), 29 May 2008try
set timestamp [timestamp -format "%m-%d-%Y:%H:%M:%S"]
this shall give you the time stamp, then set the scriptname with this time name and create where ever you want.
edit your own (not yet published) comments
Other Forum Posts
Follow us on ...
PH: 01144 1225 708225 • FAX: 01144 1225 793803 • EMAIL: firstname.lastname@example.org • WEB: http://www.wellho.net • SKYPE: wellho