Calculate time in Bubble

let date = new Date( Date/Time PickerA’s Value :formatted as yyyy/mm/dd hh:mm
let time = inut int time1’ value;

let hours = Math.floor(time);
let minutes = (time - hours) *100;

date.setHours(date.getHours() + hours);
date.setMinutes(date.getMinutes() + minutes);


I want to output the value calculated with this Javascript code, but it is not calculated. Why?

You can do this natively in Bubble without using Javascript.
Have you gave it a try?

Thank you for reply
I didn’t try natively in Bubble.
How can I try ?
Could you tell me how to try ?

Just do
Date pickers value+hours input time1

Thanks a lot.
I changed the Textbox as indicated.
Almost OK , but display 1h30m →1h18m.
maybe minutes is 1/100.
How can I do?

スクリーンショット 2024-04-02 133904