dateFormat

The dateFormat is used to format the date in a pretty format. It follows the date formats mentioned in the moments.js file. We can use any format as per our requirements; consider this example:

MMMM Do YYYY, HH:mm:ss.SSS