Your sample form makes things unnecessarily complicated by returning it's value as msg.payload["Date "]
. Once I got rid of that space it was much easier.
The ui-form returns the selected date as 00:00:00.0000 on that date, formatted as an ISO datetime string (Timezone Z or Zero or Zulu)
So at 23:08 GMT +1 on 7th June it returns {"Date ":"2024-06-06T23:00:00.000Z"}
ie it converts my time (BST) to UTC and returns it as a string.
To get it back into GMT I need to convert it to a date object, eg with a function node.
[{"id":"383541189db48432","type":"ui_form","z":"0aa81f27b03a5529","name":"","label":"","group":"8f1d10f48f93aac5","order":2,"width":0,"height":0,"options":[{"label":"Date","value":"Date","type":"date","required":true,"rows":null}],"formValue":{"Date":""},"payload":"","submit":"Submit","cancel":"Cancel","topic":"payload","topicType":"str","splitLayout":true,"className":"","x":470,"y":140,"wires":[["c286b59ac9440f3c","4f13df494e3770e4"]]},{"id":"37414371a9b9a5cb","type":"debug","z":"0aa81f27b03a5529","name":"debug 19","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":780,"y":140,"wires":[]},{"id":"c286b59ac9440f3c","type":"function","z":"0aa81f27b03a5529","name":"function 1","func":"msg.payload = new Date(msg.payload.Date)\nreturn msg;","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":620,"y":140,"wires":[["37414371a9b9a5cb"]]},{"id":"4f13df494e3770e4","type":"debug","z":"0aa81f27b03a5529","name":"debug 41","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload[\"Date\"]","targetType":"msg","statusVal":"","statusType":"auto","x":620,"y":100,"wires":[]},{"id":"8f1d10f48f93aac5","type":"ui_group","name":"Default","tab":"f6e26b53496f9dcb","order":5,"disp":true,"width":"6","collapse":false,"className":""},{"id":"f6e26b53496f9dcb","type":"ui_tab","name":"Checkist ","icon":"dashboard","order":1,"disabled":false,"hidden":false}]