Show Output
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>JavaScript Passing Parameters to the Date Object</title> </head> <body> <script> let d = new Date(2018,0,31,14,35,20,50); document.write(d); </script> </body> </html>