一聚教程网:一个值得你收藏的教程网站

最新下载

热门教程

使用ASP生成HTML文件

时间:2008-01-18 编辑:简简单单 来源:一聚教程网

使用ASP生成HTML文件
使用ASP生成HTML文件
'共有两个页面index.htm是首页.程序比较简单,主要是用了ASP里的文件操作对象。



Untitled Document


















发送消息









'//send.asp
<%
function chan_time(shijian)'转换日期时间函数
s_year=year(shijian)
if len(s_year)=2 then s_year="20"&s_year
s_month=month(shijian)
if s_month<10 then s_month="0"&s_month
s_day=day(shijian)
if s_day<10 then s_day="0"&s_day
s_hour=hour(shijian)
if s_hour<10 then s_hour="0"&s_hour
s_minute=minute(shijian)

热门栏目