Page by Date

January 26, 2008 by Carl Grint

It would depend on what language you where using, but any server side language would allow you to use

DatePart to find the Date of the Month, and use that to load a page, possible use a response.redirect on Page B if the date is between the 14 and 17, if you site is not dynamically driven, or more ideal if these pages are linked from your navigation, use an IF statement to set the link URL

varTodaysDate = DatePart('d',Date()) gives your the current date number.

You could then use an IF statement to say when the varTodaysDate was >= 14 and <= 17 then varURL = Page A, else varURL = Page B 

Obviously that is a crude example, but should give you the idea.