Expand my Community achievements bar.

Current date as default in Date/Time field

Avatar

Level 2
Hi,



On my form, I have a Date/Time field. I really would like that field to be filled by default with the today's date. Still, the calendar should be available to change the date.



Any help is highly appreciated!



Best regards,

Erik
1 Reply

Avatar

Former Community Member
Hi Erik,

Calendar component can only show in Date only selections. You can use a Formcalc script for current date time:

Concat(Num2Date(Date(), "DD/MM/YYYY"), " ", Num2Time(Time(), "HH:MM"))

Hope helps,

Asiye