postgres select where date not like code example Example: ilike for date postgres column::text LIKE '2011-01-%'