$currentDate = date(‘d/m/Y’); $pointsToAdd = (date(‘d’, strtotime($currentDate)) == ’01’) ? 10 : 0;
return $pointsToAdd;