Prev Demo
JavaScript
>
Date & Time
Next Demo
Write code here
J
|
B
|
A
<!DOCTYPE html> <html> <head> <title>Demo</title> </head> <body> <script> var d = new Date(); alert(d); </script> Click "Show Output" button to get the Output in the alert. </body> </html>
Note: We DO NOT save your trial code in our database.
Output