On Apr 11, 2013, at 10:55 AM, Ryan Kelly <rpkelly22@xxxxxxxxx> wrote: You want date_part, not date_trunc. Thanks Ryan. It looks like " EXTRACT(YEAR FROM table2.time2)" works as well. |
On Apr 11, 2013, at 10:55 AM, Ryan Kelly <rpkelly22@xxxxxxxxx> wrote: You want date_part, not date_trunc. Thanks Ryan. It looks like " EXTRACT(YEAR FROM table2.time2)" works as well. |