It seems like a lot of complicated answers have been given, but this works just fine, does it not?
new Date().toISOString()
More Related Contents:
- How do you get a timestamp in JavaScript?
- Function to convert timestamp to human date in javascript [duplicate]
- Javascript: parse a string to Date as LOCAL time zone
- Converting Date and Time To Unix Timestamp
- How do I get a timestamp in JavaScript?
- Converting Youtube Data API V3 video duration format to seconds in JavaScript/Node.js
- How to make onEdit() trigger function apply to multiple sheets
- JavaScript timestamp to Python datetime conversion
- Convert iso timestamp to date format with Javascript?
- Add timestamp to named column in Google Spreadsheet onEdit script
- i am not getting dropdown with this code [duplicate]
- How to convert string to date object in javascript? [duplicate]
- Ways to circumvent the same-origin policy
- onchange event on input type=range is not triggering in firefox while dragging
- jQuery – multiple $(document).ready …?
- Stringify (convert to JSON) a JavaScript object with circular reference
- Is && statement() the same as if() statement()?
- How do you test for NaN in JavaScript?
- JavaScript triple greater than
- Tried to Load Angular More Than Once
- Use :hover to modify the css of another class?
- window.variableName
- How to get cookie expiration date / creation date from javascript? [duplicate]
- Why is my function being called twice in React?
- How does the (function() {})() construct work and why do people use it?
- collapse and expand tabs jquery / simple accordion
- jquery selector on multiple id
- React Hook “useEffect” is called conditionally
- Change href value using jQuery
- Change Enter from submission to Tab?