I tried to get the date with this constant, but instead of something like
Monday, 15-Aug-05 15:52:01 UTC
I get
MonAMPDTE_RJulyC850.
So it doesn't return a String but a Datetime or something, but then why does
$date = date('l, d-M-y H:i:s T');
Return exactly what I wanted (f.e.:Monday, 15-Aug-05 15:52:01 UTC)?
I'm just wondering why it returns different types on same input, because
DATE_RFC850 is just a string too: const string RFC850 = "l, d-M-y H:i:s T"
.