On Jul 30, 2003, "Roy W" claimed that: |If I have: | |$firstdate = "2003-06-28"; | |then how can I get $firstdate plus 4 days? | |Thanks!
It looks like that date may have come from a [mysql] database. If that's the case, you should be able to add 4 days in your query, by using DATE_ADD() check http://www.mysql.com/doc/en/Date_and_time_functions.html Jeff -- Registered Linux user #304026. "lynx -source http://jharris.rallycentral.us/jharris.asc | gpg --import" Key fingerprint = 52FC 20BD 025A 8C13 5FC6 68C6 9CF9 46C2 B089 0FED Responses to this message should conform to RFC 1855. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php