https://www.thephilocoder.com/dating-in-javascript/
Dating in JavaScript