Working with dates - Mailing list pgsql-sql

From Ranieri Mazili
Subject Working with dates
Date
Msg-id 468D3FD8.7070807@terra.com.br
Whole thread Raw
Responses Re: [GENERAL] Working with dates
List pgsql-sql
Hello,

I need to do the following select:

Number of days of month - weekends - holydays

So this query will return the number of days that people can work

Look that I have the holydays in one table, it's bellow:

CREATE TABLE holidays
(
  id_holidays serial NOT NULL,
  dt_holiday date,
  holiday_description character varying(60),
  input_date timestamp without time zone NOT NULL,
  CONSTRAINT holidays_pkey PRIMARY KEY (id_holidays)
)

I have no idea of how do it

If someone could help, I would appreciate.

Thanks

pgsql-sql by date:

Previous
From: Jeff Frost
Date:
Subject: Re: separating improperly grouped page views
Next
From: Ranieri Mazili
Date:
Subject: Re: [GENERAL] Working with dates