Try 30 days of free premium.

Premiered

G333K wrote 12 days ago: 2

Hello, 

 

im trying to get "premiered" convertet to danish date output. 

What i have so fare dosn't work. it's in TCL

 

        if { [dict exists $tvmaze _embedded premiered airstamp] } {

       set airstamp [clock scan [dict get $tvmaze _embedded premiered airstamp] -format {%Y-%m-%d}]

       set premiered [clock format $airstamp -format {%d-%m-%Y}]

       }

can someone help me, please :)

 

EDIT: found out how :

made a :
        set premiere [clock scan $premiered -format {%Y-%m-%d}]

       set premiered [clock format $premiere -format {%d-%m-%Y}]

.