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 - Ymd because it will be sufficient

  datetime object ([date] => 2014-07-24 10:14 : 31 [timezone_type] => 3 [timezone] => Europe / Berlin)   

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:

  per $ echo $ your_date - & Gt; Format ('YMD H: I: S');    

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -