I have an array object like this
DateTime Object(
[date] => 2016-03-15 01:59:40
[timezone_type] => 3
[timezone] => Asia/Singapore)
I want to get the value of date without h:i:s means i want the output like : 2016-03-15
How can i get the value in this format.