Torna al Thread

<html> <body><input type="textbox" id="orologio" name="orologio" value=""> <script language="javascript"> <!-- function RefreshOrologio() { oggi = new Date(); document.getElementById("orologio").value = oggi.getDate() + '/' + oggi.getMonth() + '/' + oggi.getFullYear() + ' ' + oggi.getHours() + ':' + oggi.getMinutes() + ':' + oggi.getSeconds(); } RefreshOrologio(); setInterval(RefreshOrologio,1000); //--> </script> </body> </html>
Copyright © dotNetHell.it 2002-2023
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5