Hi,
I need month name in LINQ,
The below query is used in SQL -
select CONVERT(VARCHAR(3), datename(MM, getdate()), 100)
to get the month name .
How to convert in LINQ.
I also need Week number of the month in LINQ
select datediff(week, convert(varchar(6), getdate(), 112) + '01', getdate()) + 1 AS Week
Month name in LINQ
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

VulpesRank #55 · 29.2K reputationPosted Jun 2, 2011, 5:05 AM EDT
Posted Jun 2, 2011, 4:22 AM EDT
For this you need to write .net function and you can use it in LINQ Query.
Lets wait others reply also.