On 10/10/2008 16:29, blackwater dev wrote: > How can I grab the date from the last Sunday based on when I run the query? select current_date - (extract(dow from current_date) || ' days')::interval; :-) Ray. ------------------------------------------------------------------ Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland rod@xxxxxx Galway Cathedral Recitals: http://www.galwaycathedral.org/recitals ------------------------------------------------------------------