Convert weekday to integer in case it's a numeric string