Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Problems with the date of a file

Closed / Fixed218260ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:55:10
OriginalBugID: 3172 Bug
Version: 8.1
SubmitDate: '1999-10-25'
LastModified: '1999-10-29'
Severity: CRIT
Status: Closed
Submitter: techsupp
ChangedBy: hobbs
OS: Windows NT
Machine: X86
FixedDate: '2000-10-25'
ClosedDate: '1999-10-29'


Name:
Gerd Bratke

ReproducibleScript:
set dd [ file mtime $file ]
    set date_a [ clock format  $dd -format %d.%m.%y,%H:%m:%S ]

ObservedBehavior:
The time i get is always not correct, esp. the minutes (always 10 ) and
    seconds
    Do I something wrong or is there a bugfix ?
    Because in my application it is very necessary to get the correct
    date/time for me it is a fatal error !
    I'm working with Windows NT SP4, SP5, and Win98. The behaviour is always
    the same.

DesiredBehavior:
I want to get the correct time of the creating or changing of a file.



This was minor user error (%m used twice, instead of %m and %M). 
-- 10/29/1999 hobbs
welch Closed ticket [218260ffff]. [History diff]2000-10-26 08:17:56
dgp Ticket [218260ffff]: 3 changes [History diff]2001-04-18 06:38:37
Log in (anonymous is fine) to add a comment.