mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-18 14:13:46 +09:00
Update 1.0.70
This commit is contained in:
@@ -17,6 +17,7 @@ class UM_DateTime {
|
||||
*** @Get age
|
||||
***/
|
||||
function get_age($then) {
|
||||
if ( !$then ) return '';
|
||||
$then_ts = strtotime($then);
|
||||
$then_year = date('Y', $then_ts);
|
||||
$age = date('Y') - $then_year;
|
||||
|
||||
Reference in New Issue
Block a user