02
2018
10

asp取出字段中的年月日小时分方法

<%=Year(rscao("gl_date"))&"-"&Right("0"&Month(rscao("gl_date")),2)&"-"&Right("0"&Day(rscao("gl_date")),2)&" "&Right("0"&Hour(rscao("gl_date")),2)&":"&Right("0"&Minute(rscao("gl_date")),2)&":"&Right("0"&Second(rscao("gl_date")),2)%>

«1»