Something like this? I'm so bad at math....
PHP Code:
$article_content .= "Influence - You must wait ";
$target = $lastinfluence ;
$today = time () ;
$difference =($target-$today) ;
$days =(int) ($difference/86400) ;
$article_content .= $days." before influencing.<br>";
}else