Changing input to minutes