locked
Compare only day/month in LINQ conditions excluding year RRS feed

  • Question

  • Hi,

    Is it possible to compare only the month and day of the dates in the query excluding the year of the date field.

    eg: i want to filter all the contacts in my query whose birthday is today. i cannot consider the year part of the birthdate. Hence i need to consider only the day/month.

    Note: I don't want to create a custom field for this. Birthday one is just an example. I am trying to make a generic component for something.Any help on this is much appreciated.

    Thanks


    Kruthi Hegde

    Thursday, December 1, 2016 5:35 AM