Display Date Only - By Year
This is probably simple but I can't find a solution...
Maybe brain not in right place...
I have multiple dates... ie data entry on different dates...
And want to search these entries... And display only the year...
ie... Data entered in 2011 and 2012...
Want to display output of "2011" and "2012" to break down the dates...
cfquery name="staty" datasource="fpb">
select * from inspid
where inspectorid = #session.inspuser_id#
order by inspdate desc
cfquery>
Output - just the years - from multiple dates...
Seems simple - but I can't get it in my head...
Thx