dim date1,date2,date3 '8位顯示,若1月(yuè)爲01,若1号爲01date1=year(date)if len(Month(date))=1 thendate2="0"&Month(date)elsedate2=Month(date)end ifif len(day(date))=1 thendate3="0"&day(date)elsedate3=day(date)end ifresponse.write date1&"-"&date2&"-"&date3
dim date1,date2,date3 '8位顯示,若1月(yuè)爲01,若1号爲01date1=year(date)if len(Month(date))=1 thendate2="0"&Month(date)elsedate2=Month(date)end ifif len(day(date))=1 thendate3="0"&day(date)elsedate3=day(date)end ifresponse.write date1&"-"&date2&"-"&date3
13524887937