+ 6

how can insert calendar and time functions in my website

A calendar showing the current day, month and year also the time in hh:mm:ss

17th Nov 2019, 2:41 PM
Akintunde Taofeek
Akintunde Taofeek - avatar
2 Respuestas
+ 6
Try <script>document.write(new Date().toLocaleDateString()); </script> <script>document.write(new Date().toLocaleTimeString()); </script>
17th Nov 2019, 2:57 PM
Michael
Michael - avatar
+ 3
Thanks
18th Nov 2019, 6:26 AM
Akintunde Taofeek
Akintunde Taofeek - avatar