mirror of
https://github.com/pvvx/RTL00_WEB.git
synced 2026-07-06 03:15:38 +00:00
first commit
This commit is contained in:
commit
fa343db334
154 changed files with 18186 additions and 0 deletions
9
WEBFiles/time.inc
Normal file
9
WEBFiles/time.inc
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<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_mactime~/1000));
|
||||
document.getElementById('starttime').innerHTML= d.toLocaleDateString()+" "+d.toLocaleTimeString();
|
||||
</script>
|
||||
Loading…
Add table
Add a link
Reference in a new issue