dim date1,date2,date3 '8位显示,若1月为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月为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