form builder classic
The date-time widget allows the user to combine the functionality of both the date and time widget together.
The Date-Time Widget
yourVariable = new Date(1988,03,12,06,30,0);
There are a couple things to note. First, the second number for months, it works as an index value starting with zero. So January will be 0 and December will be 11. The hour number (where the 6 is) is based on 24 hour time. So for 6:30 pm, just change the 6 to 18. And lastly, this will work on all our date and time widgets without changing numbers. The date or time widget will only use the numbers that are applicable. For example, the time widget will only show 6:30 am.