Hello! Is it possible to enter the date and time in one field? date("Ymd, H:i:s")
Or is it still necessary to use separate fields in phpMyAdmin: date and set?
|
2 answers
MySQL has a datetime
type, a full data template for it is 0000-00-00 00:00:00
, so you can use it (without translating into uni-time), just remember the quotes when using the space bar, as well as in other separator-containing fields.
|
You can put unixTime
in the field. There date and time.
|