Javascript program to display the current day and time

preview_player
Показать описание
In this video, I will teach you how to write current date and time in the browser with javascript. Sample output is like this:

Today is Tuesday and time is 10 PM: 30: 38.

What you will learn are:

Accessing DOM through a div ID.
Javascript Date object methods and properties.
Using arrays to convert day number to day name.
Condition statements to find out AM or PM.
Рекомендации по теме
Комментарии
Автор

I will do it in the next tutorials. please subscribe to this channel.

freecodetube
Автор

How can I find difference between 2 dates?

zhavidvideos
join shbcf.ru