/ Published in: Other
Expand |
Embed | Plain Text
<?php function days_since ($time) { $startdate = strtotime($time); $presentdate = time(); $days = round(($presentdate - $startdate)/86400); return $days; } ?>
You need to login to post a comment.
