Conversion of alert_days from char[] to int (mask)