JavaScript Date gettime is not a function Error

Javascript dates are notoriously tricky, and the getTime() method is no exception. The “date.getTime is not a function” error occurs when the getTime () method is called on an invalid date. This usually happens when the date is not a valid JavaScript Date object. Here is an example of how the error occurs – In this … Read more

How To Format Date In JavaScript (2 Methods)

JavaScript is a programming language that is used for making webpages interactive. One of the most common things you will have to do in JavaScript is format dates and times. This article will show you how to do this, as well as give some tips on best practices when formatting dates and times in JavaScript. … Read more