timeinterval is the time interval to add;
number is amount of time intervals to add;
and date is the starting date.
实例:
<% currentDate = #9/9/00# newDate = DateAdd("m",3,currentDate) response.write newDate %>
<% currentDate = #12:34:45 PM# newDate = DateAdd("h",3,currentDate) response.write newDate %>
返回结果:
9/9/00