<?php
$days = abs(strtotime('2012-2-4') - strtotime(date("Y-m-d")))/86400;
echo 50/$days;
?>