Hi.I will try to explain the problem with my poor knowledge of english.

I've to use "If unmodified since" in a http header and according to RFC 1123 the format must be something like "Sun, 12 Mar 2006 10:00:00 GMT".

So i do:

Qt Code:
  1. QFileInfo dInfo(*getFile()); //getFile() returns a pointer to a file I've created
  2. QDateTime dDate(dInfo.created());
  3. QString format("ddd, dd MMM yyyy hh:mm:ss");
  4. QString httpDate(dDate.toTimeSpec(Qt::UTC).toString());
  5. httpDate += " GMT";
To copy to clipboard, switch view to plain text mode 

and I get something like "sun, 12 mar 2006 10:00:00 GMT" even if in the Assistant I read that "ddd" should produce Sun with the upperCase and not with LowerCase and the same thing for MMM.
Is there anyone that knows why i get "day" instead of "Day"? because the request does not work with lower cases.Thanks!!