Clock formating problem
Closed / Invalid218132ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:53:33
OriginalBugID: 2017 Bug
Version: 8.0.5
SubmitDate: '1999-05-07'
LastModified: '1999-08-08'
Severity: MED
Status: Closed
Submitter: pat
ChangedBy: hobbs
OS: Other
Machine: NA
FixedDate: '2000-10-25'
ClosedDate: '1999-08-08'
Name:
Paulo Dutra
ReproducibleScript:
Here is an example
set time_run 64
puts "Total time: [clock format $time_run -format {%H hr %M min %S sec}]\n"
> Total time: 16 hr 01 min 04 sec
^^
Why do I get 16 hrs on a 64 second duration period?
This is a user misunderstanding. 64 stands for 64 seconds from
the epoch, which is sometime in 1969. If you include the year
and all that, you will see that it is a time from way back.
-- 08/08/1999 hobbs
welch Closed ticket [218132ffff].
[History diff]2000-10-26 08:15:55
dgp Ticket [218132ffff]: 4 changes
[History diff]2001-04-21 02:32:30
Log in (anonymous is fine) to add a comment.