I have a datetime column (0000-00-00 00:00:00) in my table. I update the column from form fields for month, day, year, hour and minute. I always set the seconds to 00. This is all in PHP.
Where and how can I indicate AM or PM values? Are they part of the datetime column? I know you can use '%p' in the SELECT for display but how do I insert them?. Do I have to use the 24 hour time format? I would prefer not to do that.
Thanks,
minkisi
Where and how can I indicate AM or PM values? Are they part of the datetime column? I know you can use '%p' in the SELECT for display but how do I insert them?. Do I have to use the 24 hour time format? I would prefer not to do that.
Thanks,
minkisi