JS get min date
let maxDate = new Date(8640000000000000);
let minDate = new Date(-8640000000000000);
console.log(new Date(maxDate.getTime()).toString());
console.log(new Date(maxDate.getTime() - 1).toString());
console.log(new Date(maxDate.getTime() + 1).toString()); // Invalid Date
console.log(new Date(minDate.getTime()).toString());
console.log(new Date(minDate.getTime() + 1).toString());
console.log(new Date(minDate.getTime() - 1).toString()); // Invalid Date
Also in JavaScript:
- javascript foreach object key
- download datepicker js
- create a html table dynamically using javascript
- new line javascript
- create 2d array in javascript filled with 0
- cut text if too long javascript
- bind in javascript
- mandelbrot generating code
- refresh a div jquery
- bodyparser
- js should i use try catch
- discord function promise
- js narrate text
- esql convert blob to json
- call local function javascript
- js remove undefined from object
- how to download and install ssms in windows 10
- use strict javascript
- find base url in javascript
- Drupal 8 get page node current path
- how to check if json data is received in ajax response
- javascript send post
- node express cors headers
- python turnary