Originally posted by Dan Drury
I am trying to convert an HL7 TS to a human readable date in a preproc.
I am using:
set newDate [regsub -- {(d{8})(d{2})(d{2})(d{2})} $xlateInVals {1 2:3:4} ]
set xlateOutVals [clock format [clock scan $newDate] -f {%m/%d/%Y %l:%M:%S %p}]
But all is seem to get in the output is the Date portion. Any idea what I am doing wrong?