致力于网页设计制作教程:HTTP://WWW.ASP119.COM

当前位置:首页 > 网络编程 > ASP教程

ASP获得年季度月份日期格式

作者:迷失的宇 来源:ASP急救中心 浏览: 添加日期:2011-12-08  我要评论( )

[导读]<%
if 1=<int(month(now)) and (month(now))<=3 then
jd="01"
elseif 4=<int(month(now)) and (month(now))<=6 then
jd="02"
elseif 7=<int(month(now)) and (month

<%
if 1=<int(month(now)) and (month(now))<=3 then
jd="01"
elseif 4=<int(month(now)) and (month(now))<=6 then
jd="02"
elseif 7=<int(month(now)) and (month(now))<=9 then
jd="03"
else
jd="04"
end if
%> 
<%=year(now)&jd&right("0"&Month(now),2)%>

Tags:

相关文章

文章评论

正在载入评论数据中...
用户名:
  QQ号:
*
  匿名发表
验证码: