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
Last edited by TylerSBreton; Jan 19th, 2007 at 12:05 pm.
Reputation Points: 25
Solved Threads: 3
Junior Poster in Training
Offline 89 posts
since Oct 2006