<%
fromDate = #9/9/00#
toDate = #1/1/2000#
response.write "There are " & _
DateDiff("d",fromDate,toDate) & _
" days to millenium from 9/9/00."
%>
返回结果: 从9/9/00 到2000年还有 150 天.
Day()
函数返回一个月的第几日 .
表达式 Day(date)
允许数据类型: date 是任何有效的日期。
<%
fromDate = #9/9/00#
toDate = #1/1/2000#
response.write "There are " & _
DateDiff("d",fromDate,toDate) & _
" days to millenium from 9/9/00."
%>
返回结果: 从9/9/00 到2000年还有 150 天.
Day()
函数返回一个月的第几日 .
表达式 Day(date)
允许数据类型: date 是任何有效的日期。
内容版权声明:除非注明,否则皆为本站原创文章。