RTL00_WEB_VS/RTLGDB/WEBFiles/time.inc
ADElectronics 764b020238 update
2017-11-28 22:31:40 +03:00

9 lines
No EOL
337 B
C++

<script type="text/javascript">
var x = ~sntp_time~*1000;
if(x){
var d = new Date(x);
document.getElementById('sntptime').innerHTML= d.toLocaleDateString()+" "+d.toLocaleTimeString();
}
var d = new Date(new Date()-(~sys_time~));
document.getElementById('starttime').innerHTML= d.toLocaleDateString()+" "+d.toLocaleTimeString();
</script>