This will display the current date.
var now = moment();
To get the current date, we have to use the following code −
now._d