I'm using Node.js . In a HTTP response header is a field last-modified
with a string representing a date and time according to RFC 2822
'last-modified': 'Tue, 27 Dec 2011 02:12:35 GMT',
How do I convert this to a Javascript Date object?
What's wrong with the JS Date methods?
new Date( 'Tue, 27 Dec 2011 02:12:35 GMT' )
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With