Learning PHP and MySQL

Example 08-17 Using the minus operator on a date

SELECT NOW()-INTERVAL 12 DAY;

Posted by on 08/07 at 05:18 PM

Next entry: Example 09-01 PHP file format

Previous entry: Example 08-18 Using DATE_FORMAT with a string to place colons between the segments

<< Back to main