Shouldn't MyTime = DayOfWeek.Now; be something like MyTime = (DateTime.Now); . Then you should be able to do MyTime.DayOfWeek since DayOfWeek is a property of the DateTime class, so should be called on an instance variable of that class.
I havent fiddled too much with the DateTime mechanism yet in C#, but this seems like it should work.
Regards,
Tyler S. Breton
TylerSBreton
Junior Poster in Training
89 posts since Oct 2006
Reputation Points: 25
Solved Threads: 3