28,391
社区成员
发帖
与我相关
我的任务
分享
cdate(year(date())&"-"&month(date())&"-1")
'本月第一天
year(date())&"-"&month(date())&"-1"
'当天
date()
today = Date()
d = Day(today)-1
first = DateAdd("d", -d, today)
Response.Write Year(today) & "-" & Month(today) & "-" & Day(today)
Response.Write Year(first) & "-" & Month(first) & "-" & Day(first)
<%=now()%>