Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-04-21
02:32 • Ticket [218132ffff] Clock formating problem status still Closed with 4 other... artifact: 0e4f842e9e user: dgp
2000-10-26
08:15 • Closed ticket [218132ffff]. artifact: f45087d4fd user: welch
00:53 • New ticket [218132ffff]. artifact: 642ac7b81e user: nobody

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.