正在阅读:实例演示:使用ASP生成HTML文件实例演示:使用ASP生成HTML文件

2004-03-05 14:49 出处:CSDN 作者:cctcc 责任编辑:linjixiong

    </form></td>
  </tr>
  </table>
  </body>
  </html>
  '//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)
  if s_minute<10 then s_minute="0"&s_minute
  chan_time=s_year & s_month & s_day & s_hour & s_minute
  end function

 function chan_data(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
  chan_data=s_year & s_month & s_day
 end function

察看评论详细内容 我要发表评论
作者笔名简短内容 发表时间
:
键盘也能翻页,试试“← →”键

关注我们

最新资讯离线随时看 聊天吐槽赢奖品