Update 1.0.70

This commit is contained in:
ultimatemember
2015-03-02 16:46:00 +02:00
parent 6d4ff64995
commit 832db67584
15 changed files with 94 additions and 20 deletions
+1
View File
@@ -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;