Function jeffsdatediff
Nifty function to calculate the number of days ago a given date was. Requires a unix timestamp as input, returns an integer. Named in honour of Jeff Lewis, the original creator of...this function.
Package: SMF
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/ManageMembers.php
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/ManageMembers.php
integer |
$old |
The timestamp of the old date |
integer
|
The number of days since $old, based on the forum time |