Week of month
C#
2
Posts
2
Posters
0
Views
1
Watching
-
-
Hi there I was wondering if anyone could suggest a solution for this one: Given a date, I need to determine what week of the month it is. (thought there would be some function for doing it in .NET, but doesn't seem to be. interesting...) Thanks
DAteTime has a DayOfWeek property. Once you know that, working out the week is pretty trivial. Christian Graus - Microsoft MVP - C++