KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Do the .NET libraries have an easy way of returning the week number for a given date? For example, input of Year = 2010, Month = 1, Day = 25 , should output 5 for the week number. Closest I found was Calendar.GetWeekOfYear , which is almost there. Java has a date string format "W" which returns week in month but I can't see anything equivalent in .NET.
Tags (comma-separated)
Save Edits
Cancel