Adding to a date

    Date: 06/14/05 (PHP Community)    Keywords: php, mysql, sql, google

    I've tried looking in PHP and MySQL docs for this, and just regular google searches, and I'm coming up nil. (Despite being fairly sure I found this the other day.)

    I have a date (YYYY-MM-DD), a length, and a length type (day, month, or year). I want to add the length to the date to get a new date. How do I do this?

    *staples a note that says "Bookmark" to her forehead

    Source: http://www.livejournal.com/community/php/306749.html

« EvilWalrus.com || Sessions Form Data »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home