I'm using the YouTube/Google API and for the upload date for a particular video a time/date formatted in the following format is returned:
2012-05-16T17:15:29.000Z
I'm not sure what format this is, but I'm wondering if there's an easy way (e.g. using DateTime()
) to convert it to a format of dd/mm/yyyy?
Any mention of what the time format is called would be also appreciated ;).
To quickly use the default date format, click the cell with the date, and then press CTRL+SHIFT+#.
That would be UTC time
date_format($date, 'd/m/Y');
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With