code for dayOfWeekAsInteger()