Jan 05
You can be (rich and healthy) or (poor and ill).
You can have (readable and laconic code) or (confusing one).
“Oh no, I’ve said too much. I haven’t said enough” © REM. The following two examples do the same – so choose any ;]
echo time() + (60 * 60 * 24 * 14); //14 days from now
echo strtotime( '14 day');
Second variant also things like ‘-2 years‘.
Want the same in MySQL? Not a problem:
SELECT DATE_ADD( NOW(), INTERVAL 14 DAY )
Recent Comments