Time in hours and minutes

I was traing to change a skin that I’m using to display time in hours and minutes in the views. At first I used the script duration

PHP Code:
<variable name="LabelDuration">
<
value condition="System.HasAddon(script.duration)">$INFO[window.Property(Duration)]</value>
     <!--<
value condition="!IsEmpty(ListItem.Duration)">$INFO[ListItem.Duration,, $LOCALIZE[31102]]</value>-->
       <
value condition="[Container.Content(tvshows) + !Control.IsVisible(54) + !Control.IsVisible(555)] | Container.Content(episodes)">$VAR[LabelYear]</value>
    </
variable

and on myvideoNav I put this- <onload>RunScript(script.duration,backend=True)</onload>

Secound a tried the skin helper and don’t work either

PHP Code:
<variable name="LabelDuration">
<
value condition="!IsEmpty(Window(Home).Property(SkinHelper.ListItem.Duration.Hours))">$INFO[Window(Home).Property(SkinHelper.ListItem.Duration.Hours)]h $INFO[Window(Home).Property(SkinHelper.ListItem.Duration.Minutes)]</value>
     <!--<
value condition="!IsEmpty(ListItem.Duration)">$INFO[ListItem.Duration,, $LOCALIZE[31102]]</value>-->
       <
value condition="[Container.Content(tvshows) + !Control.IsVisible(54) + !Control.IsVisible(555)] | Container.Content(episodes)">$VAR[LabelYear]</value>
    </
variable

and on myvideoNav I put this- <onload>RunScript(script.skin.helper.service,backend=True)</onload> don’t know if this even works

What am I doing wrong or is it even possible now (script duration is discontinued for 2 years for example)
Thanks for the help in advance