Given a DateTime object that is set to the first second of the year 2014, which of the following samples will correctly return a date in the format '2014-01-01 00:00:01'?
I'm not sure, but I think D) $date = date('Y-m-d H:i:s', $datetime); might also work. It seems like it could convert the DateTime object to the correct format.
Ricarda
4 days agoMose
6 days agoSusana
22 days agoMyong
1 months agoVanna
1 months ago