As dealing with Dates can be difficult in vanilla JavaScript, various libraries have been written to remedy this. Examples: Moment.js, XDate.