Wednesday 15 February 2012

asp classic - print out following year if after a certain date -



asp classic - print out following year if after a certain date -

i trying find way grab next year if form filled out after date in calendar. have <%=thisyear%> in code want seek , add together if statement grab next year if after september 1 of current year.

you should using dateadd , datepart function. if status should this

if datepart("yyyy", dateadd("m", -8, date())) <> thisyear stuff after september 1 end if

asp-classic

No comments:

Post a Comment