Custom value for field (fill and save field with custom table column)

Hello,
I would like to make a form in which there would be 2 fields: 1 date field (day, month, year) and 1 time field (hour, minute). I would like to have these 2 data stored in a single datetime field in my table. How can I use "virtual values" for some fields? I also need these fields to retrieve these values by decomposing the datetime.
Was this page helpful?