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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Two lists 4
Check if DateTime is valid 1
Enumerable.Range 3
News Google teases announcement at GDC next month 2
DateTime Range 1
List 2
List. CSV. Stream 2
Excel Vba to change displayed year automatically. 14

Back
Top