<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title&
1.显示当前时间 <body onload="showtime()"> <div>当前时间: <span id="clock"></span > </div> <script type="application/javascript"> function showtime()//创建函数 { var nowTime = new Date();//创建时间对象实例 var ho
自动更新修改时间: mysql> create table z(a int ,b timestamp on update current_timestamp); mysql> insert into z ,current_timestamp; mysql> select * from z; +------+---------------------+ | a | b | +------+---------------------+ | | -- :: | +------+--------