I get an array from a form $formData:
Array ( [first_name] => 12 [last_name] => 1 [date] => DateTime Object ( [date] => 2008-01-01 00:00:00 [timezone_type] => 3 [timezone] => Europe/Berlin ) [sex_id] => 1 [terms] => 1 )
How do I get to [date] and [timezone]?
This doesn't work:
$formData['date']->getTimezone();