Group Month/Year?

  • Thread starter Thread starter shapper
  • Start date Start date
S

shapper

Hello,

I have a list of articles where each one has a created date.
How can I get a list of Month/Year where there is articles published?

Thanks,
Miguel
 
shapper said:
Hello,

I have a list of articles where each one has a created date.
How can I get a list of Month/Year where there is articles published?

Assuming you're using LINQ, I would use the "group by" syntax.
 
Back
Top