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
Loading
VulpesPosted Jun 2, 2011, 9:05 AM
Posted Jun 2, 2011, 8:22 AM
For this you need to write .net function and you can use it in LINQ Query.
Lets wait others reply also.