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

[导读]<%    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)%>