Hello Corvid folks, I am nearly finished a large scale project, but I have a few kinks that I cannot get my head around. Wondering if anyone could help me out at all, please? Basically, I have a custom form to submit an event to the Database. We have a Start Date Picker, Start Time Picker, End Date Picker, and End Time Picker. Currently each has It's own field in the Database, but i would personally rather we simply had 2 fields for this:
1 field for 'Start Date & Time' and 1 field for 'End Date & Time. Now, the issue is, we have to have the time pickers to get the time, but I need to find a way, when submitting, to store the value of them time pickers in Date & Time field in the DB. Hope this makes sense. I just want it to be cleaner and because this site is for an events listing, it makes sense to have them in the one field, to then sort in order of not just the date but the time of the events.
Here is how the form looks:
If someone could help me out I would be extremely grateful.