0 Replies Latest reply on Jan 31, 2007 4:08 PM by Irish-Phoenix

    Switching content based on a date

    Irish-Phoenix Level 1
      I am trying to write a script that will switch some content in my webpage once it hits March 1st. so until march first they get one thing, and after march 1st they get another. Is this possible? If so can someone help me out with the code.

      I thought it might work as an IF statement like
      <cfif DateFormat(now(), "yyyy" = #Feb 31#>
      they get this code
      they get this code as of March 1st.

      I need it to sta that way until after June 2007
      Can anyone help me figure out a good way to accomplish this?
      Thank you.