Live Clock in asp.net
-
Hi I am displaying a live clock in a HTML text box using javascript When (asp.net) button is click that time must print in a (asp.net) label (It is in asp.net web page) MY CODE IS :
function show(){ var Digital=new Date() var hours=Digital.getHours() var minutes=Digital.getMinutes() var seconds=Digital.getSeconds() var dn="AM" if (hours>12){ dn="PM" hours=hours-12 } if (hours==0) hours=12 if (minutes<=9) minutes="0"+minutes if (seconds<=9) seconds="0"+seconds document.Tick.Clock.value=hours+":"+minutes+":" +seconds+" "+dn setTimeout("show()",1000) } show() OR Can any one tell me how can i display a live colck in a (asp.net)text box asdfasdfasdfasdfasdfasdfasdfasdfasdfasdf
-
Hi I am displaying a live clock in a HTML text box using javascript When (asp.net) button is click that time must print in a (asp.net) label (It is in asp.net web page) MY CODE IS :
function show(){ var Digital=new Date() var hours=Digital.getHours() var minutes=Digital.getMinutes() var seconds=Digital.getSeconds() var dn="AM" if (hours>12){ dn="PM" hours=hours-12 } if (hours==0) hours=12 if (minutes<=9) minutes="0"+minutes if (seconds<=9) seconds="0"+seconds document.Tick.Clock.value=hours+":"+minutes+":" +seconds+" "+dn setTimeout("show()",1000) } show() OR Can any one tell me how can i display a live colck in a (asp.net)text box asdfasdfasdfasdfasdfasdfasdfasdfasdfasdf
-
Hi I am displaying a live clock in a HTML text box using javascript When (asp.net) button is click that time must print in a (asp.net) label (It is in asp.net web page) MY CODE IS :
function show(){ var Digital=new Date() var hours=Digital.getHours() var minutes=Digital.getMinutes() var seconds=Digital.getSeconds() var dn="AM" if (hours>12){ dn="PM" hours=hours-12 } if (hours==0) hours=12 if (minutes<=9) minutes="0"+minutes if (seconds<=9) seconds="0"+seconds document.Tick.Clock.value=hours+":"+minutes+":" +seconds+" "+dn setTimeout("show()",1000) } show() OR Can any one tell me how can i display a live colck in a (asp.net)text box asdfasdfasdfasdfasdfasdfasdfasdfasdfasdf
Hi Kirthi I hope the following link will help you, dont know whether you have visited this link already. http://javascriptkit.com/script/cutindex1.shtml Regards Mukilan.
-
Hi I am displaying a live clock in a HTML text box using javascript When (asp.net) button is click that time must print in a (asp.net) label (It is in asp.net web page) MY CODE IS :
function show(){ var Digital=new Date() var hours=Digital.getHours() var minutes=Digital.getMinutes() var seconds=Digital.getSeconds() var dn="AM" if (hours>12){ dn="PM" hours=hours-12 } if (hours==0) hours=12 if (minutes<=9) minutes="0"+minutes if (seconds<=9) seconds="0"+seconds document.Tick.Clock.value=hours+":"+minutes+":" +seconds+" "+dn setTimeout("show()",1000) } show() OR Can any one tell me how can i display a live colck in a (asp.net)text box asdfasdfasdfasdfasdfasdfasdfasdfasdfasdf
Hi Kirthi I hope the following link will help you, dont know whether you have visited this link already. http://javascriptkit.com/script/cutindex1.shtml http://javascriptkit.com
-
Hi Kirthi I hope the following link will help you, dont know whether you have visited this link already. http://javascriptkit.com/script/cutindex1.shtml http://javascriptkit.com