I am using Node.js. The HTTP response header has a last-modified field with a string representing the date and time in accordance with RFC 2822
'last-modified': 'Tue, 27 Dec 2011 02:12:35 GMT',
How do I convert this to a Date Javascript object?
source share