How to format timepicker as HH:SS ?

Basic question ??

When i’m using WIX timePicker the format is displaying as 00:00:00 :00
So how to format the time only by HH:MM ?

Thx by advance

If anyone is interested the solutions are :

Solution 1 :
let TimePickerValue=String($w( “#timePicker1” ).value).substr( 0 , 5 );

$w( “#texttodisplay” ).text= TimePickerValue

or

Solution 2 :
let TimePickerValue= $w( “#timepicker1” ).value.split( “:” , 2 )
let hour =TimePickerValue[ 0 ]
let minute =TimePickerValue[ 1 ]

$w( “#texttodisplay” ).text= hour + “:” + minute

Thx to myself

Well done Felix! You got your own solution! First step done to get a good programmer :wink: