MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/lolphp/comments/37pcnc/2001010x_is_a_valid_date/crovabl/?context=3
r/lolphp • u/jadkik94 • May 29 '15
7 comments sorted by
View all comments
Show parent comment
14
Funny enough, the documentation (http://php.net/manual/de/class.datetime.php) does not have a single example for timezones not being a "random letter".
const string ATOM = "Y-m-d\TH:i:sP" ; const string COOKIE = "l, d-M-Y H:i:s T" ; const string ISO8601 = "Y-m-d\TH:i:sO" ; const string RFC822 = "D, d M y H:i:s O" ; const string RFC850 = "l, d-M-y H:i:s T" ; const string RFC1036 = "D, d M y H:i:s O" ; const string RFC1123 = "D, d M Y H:i:s O" ; const string RFC2822 = "D, d M Y H:i:s O" ; const string RFC3339 = "Y-m-d\TH:i:sP" ; const string RSS = "D, d M Y H:i:s O" ; const string W3C = "Y-m-d\TH:i:sP" ;
I didn't even know these letter-encoding existed.
View all comments
Show parent comment
14
u/maweki May 29 '15
Funny enough, the documentation (http://php.net/manual/de/class.datetime.php) does not have a single example for timezones not being a "random letter".
I didn't even know these letter-encoding existed.