/ Published in: PHP
Expand |
Embed | Plain Text
Comments
Subscribe to comments
You need to login to post a comment.
gdonald on 09/27/06
3 people have marked this snippet as a favorite
Subscribe to comments
You need to login to post a comment.
Or perhaps...
function daysAgo($n) { return date("YmdHis", time() - 86400 * $n); }