lol酒桶fnatic皮肤:请教这个网页上时间显示是怎么实现的?
来源:百度文库 编辑:高考问答 时间:2024/07/06 10:35:02
你用ASP里的now()或是time函数,很容易就可以实现了!
例如:取服务器端时间,把这个时间存到变量里去
<% dim abc
abc=time
response.write abc %>
取客户端时间
<script language=vbscript>sj=time</script>
年月日时分秒的记法:
秒=Second(time)
时=Hour(time)
天=day(date)
年=year(date)