Posted to tcl by Surmaelk at Wed Mar 25 15:54:47 GMT 2020view pretty

how can i make this : into a diffrent date output: like 25-03-2020 and not like: 2020-03-25
set airstamp [clock scan [dict get $tvmaze _embedded nextepisode airstamp] -format {%Y-%m-%dT%H:%M:%S%z}]
set airstampnyc [clock format $airstamp -format {%H:%M} -timezone :America/New_York]
i though the %Y-%m-%d should be %d-%m-%Y but dosnt work

Comments

Posted by Surmaelk at Wed Mar 25 15:56:28 GMT 2020 [text] [code]

It just give this error: Tcl error [tv]: input string does not match supplied format