{{tag>category:"Form Designer(10+)" author:"Barry Stevens" author:"Carl Pates"}} [[https://www.revelation.com/the-works|Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community]] ==== DATETIME control (Form Designer(10+)) ==== === At 29 MAR 2024 05:21:58PM Barry Stevens wrote: === In Australia (in case significant) the date today is 30/03/2024 When run the default date show 29/03/2024. the dropdown calendar shows last date as 29th At the bottom it shows todays date as 30/03/2024 The max/min values are set to relative D0,T0M Am I supposed to initialise them when run as it appears to me, to be the live US date. ---- === At 02 APR 2024 07:06AM Carl Pates wrote: === What's the Value property in the FormDesigner set to? [email=cpates@revsoft.co.uk]Carl Pates[/email] ---- === At 02 APR 2024 03:39PM Barry Stevens wrote: === What's the Value property in the FormDesigner set to? [email=cpates@revsoft.co.uk]Carl Pates[/email] It is showing todays date but the value showing on the control is yesterday. If I change the maxvalue to specific date with year (say) 2030 it is all correct ---- === At 04 APR 2024 05:21AM Carl Pates wrote: === It appears it's initialized to UTC rather than local time so I've updated to use local time by default. The fix will be in 10.2.2 (not sure what build/release yet). [email=cpates@revsoft.co.uk]Carl Pates[/email] ---- === At 04 APR 2024 03:47PM Barry Stevens wrote: === It appears it's initialized to UTC rather than local time so I've updated to use local time by default. The fix will be in 10.2.2 (not sure what build/release yet). [email=cpates@revsoft.co.uk]Carl Pates[/email] Thanks - thought it would be something like that. [[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=WORKS_READ&SUMMARY=1&KEY=B8ED97812ED641408018980D3D765E85|View this thread on the Works forum...]]