Am using C# MVC and i need to get the user details who having birthday with in next 20 days. using linq to sql query which wants to compare only date and month and not the year, to fetch the users who having birthday within next 20days, anyone kindly help me with the linq to sql query to get the users who having birthday within next 20 days.
thanks in advance,
Why not store the Birthday in a local variable, change the year to the current year and then check whether it occurs in the next 20 days?
Then in Linq something like:
Kindness,
Dan