Returns the day of the week in the specified DateTime object.
time The DateTime to read.
A DayOfWeek value that represents the day of the week in the specified DateTime object.