convert 3 letter day to int representation