Show Output
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>JavaScript Define a Date Object by Passing the Number of Milliseconds</title> </head> <body> <script> let d = new Date(1517356800000); document.write(d); </script> </body> </html>