Display Current Day And Time Using JavaScript !

Pubblicato il: 29 dicembre 2021
sul canale di: Code Canvas
10,192
117

The getDay() method is used to get the day of the week for the specified date according to local time, where 0 represents Sunday. The value returned by getDay() is an integer corresponding to the day of the week: 0 for Sunday, 1 for Monday, 2 for Tuesday, and so on.

The getHours() method is used to get the hour for a given date, according to local time. The value returned by getHours() is an integer between 0 and 23.

The getMinutes() method is used to get the minutes in the specified date according to local time. The value returned by getMinutes() is an integer between 0 and 59.

The getSeconds() method is used to get the seconds in the specified date according to local time. The value returned by getSeconds() is an integer between 0 and 59.

🔔 Subscribe for more videos like this : https://www.youtube.com/c/CodeCanvas?...

#javascript #javascriptinterview #javascripttutorial


In questa pagina del sito puoi guardare il video online Display Current Day And Time Using JavaScript ! della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Code Canvas 29 dicembre 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 10,192 volte e gli è piaciuto 117 spettatori. Buona visione!