Calculate week number for month

Possible duplicate:
Calculate week of month in .NET

I need to calculate the week number of a given date for a month . The reason why I have emboldened the month is because I meet all the examples (hereinafter) based on annual. Basically, I want to see what week 14/2/2010 enters (dd / MM / yyyy format). Given the starting day on Monday, I expect this to return 2.

As far as I know about the culture in this calculation?

+3
source share
1 answer

.NET. GetWeekOfYear, , , , .

Community Wiki.

+3

Source: https://habr.com/ru/post/1731422/


All Articles