ASP中时间函数DateDiff详解
潜水3,764人DateDiff 函数
描述
返回两个日期之间的时间间隔。
语法
DateDiff(interval, date1, date2 [,firstdayofweek][, firstweekofyear]])
DateDiff 函数的语法有以下参数:
如:DateDiff("d",Intime,Now())表示当前时间Now()距离Intime多
DateDiff 函数
描述
返回两个日期之间的时间间隔。
语法
DateDiff(interval, date1, date2 [,firstdayofweek][, firstweekofyear]])
DateDiff 函数的语法有以下参数:
如:DateDiff("d",Intime,Now())表示当前时间Now()距离Intime多