Subtrahera dem helt enkelt: SELECT ('2015-01-12'::date - '2015-01-01'::date) AS days; Resultatet: days ------ 11