fixed function declaration of the strtotime