php - get date form DateTime object -
How can I get the date to date in a variable? The date does not even need to be formatted - A similar question was seen, but there was no effect in the answer, so a new question Decided to make. thank you in advanced. Let's see: Ymd because it will be sufficient
datetime object ([date] => 2014-07-24 10:14 : 31 [timezone_type] => 3 [timezone] => Europe / Berlin)
per $ echo $ your_date - & Gt; Format ('YMD H: I: S');
Comments
Post a Comment