DateDiff(interval, date1, date2 [,firstdayofweek[, firstweekofyear]]) The DateDiff function syntax has these parts:[interval] Required. String expression that is the interval you want to use to calculate the differences between date1 and date2. See Settings section for values. The interval argument can have the following values:Setting Description yyyy Year q Quarter m Month y Day of year d Day w Weekday ww Week of year h Hour n Minute s Second
<%=DATEDIFF ("mi",rstop("run_time"),now())%>DATEDIFF ("h","2004-10-28 10:00:00","2004-10-28 12:00:00") 结果是2你这里面的"mi"是什么啊 应该是下面这些当中某一个啊 The interval argument can have the following values:Setting Description yyyy Year q Quarter m Month y Day of year d Day w Weekday ww Week of year h Hour n Minute s Second
The DateDiff function syntax has these parts:[interval]
Required. String expression that is the interval you want to use to calculate the differences between date1 and date2. See Settings section for values.
The interval argument can have the following values:Setting Description
yyyy Year
q Quarter
m Month
y Day of year
d Day
w Weekday
ww Week of year
h Hour
n Minute
s Second
结果是2你这里面的"mi"是什么啊
应该是下面这些当中某一个啊
The interval argument can have the following values:Setting Description
yyyy Year
q Quarter
m Month
y Day of year
d Day
w Weekday
ww Week of year
h Hour
n Minute
s Second
这个不是例子吗???
DATEDIFF (返回类型,开始时间,结束时间)
这样写还看不明白?????