joined:Aug 7, 2008
I am using braintree payments and in a place I am calling a transaction details from it. It returns with recursive arrays and a lot of data from which I need only a few values. For example, I want to get subscription start and end time. If write this code
It returns the values like this
DateTime Object ( [date] => 2013-07-25 00:00:00 [timezone_type] => 3 [timezone] => UTC )
From the above output, I only want the date, to be displayed. I tried all the options, but off course I am doing something wrong still.
Can someone please tell me what should be the write call if I want to display the date only from the above output?