How do i change the time of a date type while preserving the date?

The user creates some items with date type, but sometimes he needs to edit, I made the option using AirDate/TimePicker.

The problem is that I use these date types to make a date interval, but when the user decides to edit an item of days. It takes the current day.

is there any way I can concatenate the old date with the new time?

Yes when the plugin triggers the event, instead of saving the plugins value directly do [existing date/time value]:changed hours to [Plugin element]'s value:Extract hours:change minutes to [Plugin element]'s value:extract minutes

1 Like

I tested it here and it worked, thank you for your help

1 Like