There are date functions that should allow you to manipulate and work with date's and their corresponding attributes. Check them out. For example, if you pass a date as a parameter to the 'mktime()' function you will get returned an integer value that represents the amount of seconds passed since 1970 (or around there). By working with these date-converted-to-integer values you can find out what date is lower or higher. Just make sure that you pass the 'mktime()' function the appropriate parameters. This may require that you break up the date into days, months, year etc. Cheers Tryst