This is a migrated thread and some comments may be shown as answers.

How to Group by year of a date column

1 Answer 66 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Scott Hansen
Top achievements
Rank 1
Scott Hansen asked on 06 Nov 2008, 03:41 AM
I have a column that is a date type and want to group by just the year portion of the date. 

Any help would be appreciated.

Thanks

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 06 Nov 2008, 10:56 AM
Hello Scott,

You can go through the following code library submission which explains about grouping a grid's data by month.  Similarly, you can make modifications to the code sample so as to make the grid group by year.
Group by Month

Thanks
Princy.
Tags
Grid
Asked by
Scott Hansen
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or