($now + 60); } public static function getAgeInSeconds(string $timestamp): int { $time = strtotime($timestamp); $now = current_time('timestamp'); return max(0, $now - $time); } public static function getCurrentMySQLTimestamp(): string { return current_time('mysql'); } }