date type added to view