I was wondering if it was possible to format todays date to below format:
YYYY-MM-DDTHH:MM:SS
It's important that the "T" is preserved, like this:
2017-07-20T00:00:00
Below I have:
$invoice_date = date('Y-m-d H:i:s');
I can't figure out how to add the "T" in between.