I am stuck on an array issue, that I just cannot seem to figure out. I am looping through an excel document and have broken the three columns out.
The Array that it kicks out, looks like such:
 => 356512090108717
 => Production
 => DateTime Object ( [date] => 2019-02-20 00:00:00.000000 [timezone_type] => 3 [timezone] => Europe/London )
I need to convert each of these to a string, but importantly I need [date] to be formatted like such
2019-02-20 instead of 2019-02-20 00:00:00.000000. I cannot figure out how to convert the single element in the array to a string.
Thanks In Advance!