Matt Johnson-Pint‘s answer is much better than this one was.
console.log(new Date("Fri Jan 20 2012 11:51:36 GMT-0500").toUTCString())
More Related Contents:
- What is the purpose of a self executing function in javascript?
- Can a website detect when you are using Selenium with chromedriver?
- How to distinguish between left and right mouse click with jQuery
- How do I iterate over a JSON structure? [duplicate]
- Difference between setTimeout with and without quotes and parentheses
- How to build PDF file from binary string returned from a web-service using javascript
- JSON datetime between Python and JavaScript
- Is there an equivalent of the __noSuchMethod__ feature for properties, or a way to implement it in JS?
- Completely removing duplicate items from an array
- Export javascript data to CSV file without server interaction
- How to make a browser display a “save as dialog” so the user can save the content of a string to a file on his system?
- replace all occurrences in a string [duplicate]
- How do I split a string into an array of characters? [duplicate]
- What Javascript Template Engines you recommend? [closed]
- How can I make event.srcElement work in Firefox and what does it mean?
- HTML comments in a javascript block?
- Have just one InfoWindow open in Google Maps API v3
- How to move table row in jQuery?
- How do you save an image from a Three.js canvas?
- update cloud firestore document without id
- How to make one Observable sequence wait for another to complete before emitting?
- How can I see the source of built-in JavaScript functions? [closed]
- Javascript / Jquery – Get number from string
- Create thumbnail from video file via file input
- Click link inside Leaflet Popup and do Javascript
- Media Source Api not working for a custom webm file (Chrome Version 23.0.1271.97 m)
- Clear localStorage on tab/browser close but not on refresh
- JavaScript Callback after calling function
- Cannot Upload File to FastAPI backend using JavaScript Fetch API in the frontend
- Difference between application/x-javascript and text/javascript content types