December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.
But I also have an archieve with reports from the last half year.
<% Dim wk, intStart, intEnd wk = DatePart("ww", date())-1 intStart = (wk * 7) +2 intEnd = intStart + 6 %> <input type="hidden" name="weeknumber" id="weeknumber" value="<%= Year(Now) & "-" & DatePart("ww", Now()) %>" />
So if the week number is above the present weeknumber, my output would be 2011-0, and not 2011-50. Is there a way to make sure I can track the reports from the last 26 weeks correctly?
DatePart("ww", Now()) - 36
Join the community of 500,000 technology professionals and ask your questions.