Saturday, 24 August 2013

get date from DateTime Object

get date from DateTime Object

After more than an hour struggling and trying I'd like to ask it here.
Trying to make something with weeks etc. in php I got from you site this:
Get all Work Days in a Week for a given date
Nice and will work for me fine.
But ... I can't get, trying and trying, the data out of this part: [date]
=> 2013-08-12 00:00:00
Array ( [0] => DateTime Object ( [date] => 2013-08-12 00:00:00
[timezone_type] => 3 [timezone] => Europe/Amsterdam )
How to get that date out of the array ? Please help me out, thanks in
advance for the help !

No comments:

Post a Comment