在asp获取时间的年月日:
1、<%=datepart("yyyy",rs1("time"))%>年<%=datepart("m",rs1("time"))%>月<%=datepart("d",rs1("time"))%>日
2、year1=year(now())
month1=month(now())
day1=day(now())
Hour1=Hour(now())
Minute1=Minute(now())
Second1=Second(now())
DateTime.Now
year(rs1("time"))
month(rs1("time"))
day(rs1("time"))
shijian=Year(rs("time"))&"年"&Month(rs("time"))&"月"&Day(rs("time"))&"日"
<%=datepart("yyyy",rs1("time"))%>年<%=datepart("m",rs1("time"))%>月<%=datepart("d",rs1("time"))%>日