I need to output a date in the following format
2025-08-21T11:00:00-04:00
However when I try to output it from the field i end up this
$event->Estart()->toDate("Y-m-dTH:i:s")
output = 2025-08-21UTC11:00:00-04:00
It seems to be converting the T in the date format to UTC timezone rather outputting the T to denote time instead, which doesnt work with fullcalandar.js - im building an events calander.
How can I get the desired output?