Date and time in javascript malayalam tutorial 25

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

Hi sir why we didn't choose setInterval function for showing current time. Like below if any problems?
setInterval(function(){
var dt = new Date();
var time =
var hour = dt.getHours();
var minute = dt.getMinutes();
var second = dt.getSeconds();
var setTime = hour + ':' + minute + ':' + second;
time.innerHTML = setTime;
}, 1000)

ReejoGeorge
Автор

Sir appo morning 10:00 aanel am /pm ngana set aakal 12:22

Irfaan-yr
Автор

Will this date function returns the correct server time zone, when it hosted in a live server? Also how to change the time zone by using Java script?

ariyansgroup
Автор

Ur videos are very informative and useful .please upload type writer effects in Javascript

blesscheriyan