Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Explanation of the following date format 2012-08-08T15:04:33+0200

Can someone explain me the following date format?

2012-08-08T15:04:33+0200

I suppose

2012-08-08 // should be year-month-day 

15:04:33 // is hour:minutes:seconds

+0200 // should be the Timezone offset 

I have no idea about T meaning.

like image 865
Lorraine Bernard Avatar asked Dec 16 '25 22:12

Lorraine Bernard


2 Answers

T signifies that everything following is Time

https://en.wikipedia.org/wiki/ISO_8601

like image 171
SeanC Avatar answered Dec 19 '25 11:12

SeanC


You are correct in your breakdown, the T is just a separator from date and time.

like image 43
WhoaItsAFactorial Avatar answered Dec 19 '25 11:12

WhoaItsAFactorial



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!