date comparison

Results 1 to 2 of 2

Thread: date comparison

  1. #1
    michael taylor Guest

    Default date comparison

    How does one create a date comparison routine to indicate how long a web page has been online and then notify the author via email he/she needs to update the page. For example, page created on 7/6 and todays&#039 date is 7/30. how do I create a routine to display that the page has been online for 30 days or more?

  2. #2
    Chris Willey Guest

    Default RE: date comparison

    The only way I could see would be to create a database of Web pages on your site, containing a field for "creation date." Then you could query that database whenever you wanted to show all pages older than 30 days, and send an automatic email to authors (another field in the DB) indicating an outdated page.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts