i'm looking for a way to get the current date and time in the HTTP date format which is for example "Tue, 15 Nov 1994 08:12:31 GMT". I would like to get that with JavaScript. I tried with:
new Date().toString()
but this gives me a different format like: "Tue Aug 20 2013 00:19:28 GMT+0200". I would need to invert the month with the day and put a coma between the day of the week and the day of the month. How can i get that format?