<
TABLE
cellSpacing
=0
cellPadding
=0
width
="100%"
border
=0
>
< TR >
< TD class =slan vAlign =top width ="50%" height =24 >< SPAN id =localtime ></ SPAN >
< SCRIPT >
function showLocale(objD)
{
var dn, str;
var hh = objD.getHours();
var mm = objD.getMinutes();
var ss = objD.getSeconds();
str = (objD.getYear())+"年"+(objD.getMonth() + 1) + "月" + objD.getDate() +"日";
if(hh<10) hh = '0' + hh;
if(mm<10) mm = '0' + mm;
if(ss<10) ss = '0' + ss;
str += " " + hh + ":" + mm + ":" + ss;
return(str);
}
function tick()
{
var today;
today = new Date();
document.getElementById("localtime").innerHTML = showLocale(today);
window.setTimeout("tick()", 1000);
}
tick();
</ SCRIPT > </ TD >
</ TR ></ TABLE >
< TR >
< TD class =slan vAlign =top width ="50%" height =24 >< SPAN id =localtime ></ SPAN >
< SCRIPT >
function showLocale(objD)
{
var dn, str;
var hh = objD.getHours();
var mm = objD.getMinutes();
var ss = objD.getSeconds();
str = (objD.getYear())+"年"+(objD.getMonth() + 1) + "月" + objD.getDate() +"日";
if(hh<10) hh = '0' + hh;
if(mm<10) mm = '0' + mm;
if(ss<10) ss = '0' + ss;
str += " " + hh + ":" + mm + ":" + ss;
return(str);
}
function tick()
{
var today;
today = new Date();
document.getElementById("localtime").innerHTML = showLocale(today);
window.setTimeout("tick()", 1000);
}
tick();
</ SCRIPT > </ TD >
</ TR ></ TABLE >