In this tutorial, we are going to see how we can convert date in number format to date in readable format. Create a variable and use the Date object to initialize the current date value. The Date object allows us to initialize the current date using the number of milliseconds value, that is var myDate = new Date (Date.now()) is allowed. We can get the year, date and month with the help of getFullYear() (returns current year), getMonth() (returns number of the month as zero-based, that is for January, getMonth() returns 0, for February getMonth() returns 1 and for December, getMonth() returns 11) and getDate (returns current date) methods. Once we are ready with the year, month and date values, we have to just display it in the required format.