[CODE]
<script lanugae="javascript">
function thetime() {
var yy;
var mm;
var dd;
set mytime=new Date()
yy=mytime.getFullyear();
mm=mytime.getMonth();
dd=mytime.getMinutes();
frmtime.txttime.value="今天是:" + yy + "年" + mm + "月" + dd + "日"
}
</script>
〈form name="frmtime"〉
〈input type="text" name="txttime"〉
</form>
[/CODE]