Added function to get the day of the week