clock scan can not convert time in hhmm format where hh
= 00 and mm > 23. The root of the problem seems to be
that it strips leading 0's and 0023 becomes 2300. If
this is the intended behavior, then the documentation
should be updated.
the following for the "time" values in the "dateString"
argument of the clock scan command:
A time of day, which is of the form: hh?:mm?:ss??
?meridian? ?zone? or hhmm ?meridian? ?zone?. If no
meridian is specified, hh is interpreted on a 24-hour
however it can correctly convert hh:mm with same values.
% parray tcl_platform
tcl_platform(byteOrder) = bigEndian
tcl_platform(machine) = sun4u
tcl_platform(os) = SunOS
tcl_platform(osVersion) = 5.8
tcl_platform(platform) = unix
tcl_platform(user) = bschofie
tcl_platform(wordSize) = 4
% puts $tcl_patchLevel
% clock scan 00:24
% clock scan 0024
unable to convert date-time string "0024"
% clock scan 0023
1046232000 <----------------- wrong value
% clock scan 00:23
% clock scan 23