To make some div display for a longer time

Since WordPress 3.5, there are build in time constants to make thing easier for you. They are

  • MINUTE_IN_SECONDS
  • HOUR_IN_SECONDS
  • DAY_IN_SECONDS
  • WEEK_IN_SECONDS
  • YEAR_IN_SECONDS

You can probably do 30 DAY_IN_SECONDS for a 30 day period or 4 WEEK_IN_SECONDS for a 4 week period. Obviously, for a 2 month period you will do 60 DAY_IN_SECONDS