Combine Date Picker and Time Picker to one Date/Time column in database

Hi Melissa,

You’re retrieving the datetime values in the onReady() function, This means the values are retrieved once the page loads which is why the console shows the default values - today’s date.

In order to retrieve the values upon change you need to use the onChange() event handler for each of the elements (date picker and time picker).

you can see more info here:

https://www.wix.com/corvid/reference/$w.DatePicker.html#onChange