- This topic has 3 replies, 3 voices, and was last updated 13 years, 4 months ago by .
-
Topic
-
I am using the following in a translate pre-proc. set dt_time $xlateInVals
set xlateOutVals [clock format [clock scan $dt_time] -format %Y%m%d]
While doing some testing a test patient with a birthday of 1/1/1901 caused the translation to fail. When I ran it through the testing tool I got the following.
MESSAGE 1
Tcl callout error
erroCode: NONE
errorInfo:
unable to convert date-time string “1/1/1901”
while executing
“clock scan $dt_time”
What is the issue here? Is there a limitation in the TCL clock command or an issue with the logic?
I change the birthdate to 1/1/1961 and it worked as expected.
Viewing 2 reply threads
Viewing 2 reply threads
- The forum ‘Tcl Library’ is closed to new topics and replies.