pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kaare Rasmussen <kar@webline.dk>
To: Cwhisperer <Cwhisperer@vo.lu>
To: pgsql-sql@postgresql.org
Subject: Re: number of days in a month
Date: Fri, 11 May 2001 20:15:53 +0200
Message-ID: <01051120155301.00699@bering> (raw)
In-Reply-To: <11781844085.20010511081908@vo.lu>
References: <11781844085.20010511081908@vo.lu>

>  does it exist a date function  to determine the number of days in a
>  Select, knowing a specifique date ?

January, 2001: 

select '2001-2-1'::datetime - '2001-1-1'::datetime; 

-- 
Kaare Rasmussen            --Linux, spil,--        Tlf:        3816 2582
Kaki Data                tshirts, merchandize      Fax:        3816 2501
Howitzvej 75               Åben 14.00-18.00        Web:      www.suse.dk
2000 Frederiksberg        Lørdag 11.00-17.00       Email: kar@webline.dk



view thread (2+ messages)

Message-ID: <01051120155301.00699@bering>
Permalink:  ../01051120155301.00699@bering/
Also on:    postgresql.org/message-id/01051120155301.00699@bering

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: kar@webline.dk, Cwhisperer@vo.lu
  Subject: Re: number of days in a month
  In-Reply-To: <01051120155301.00699@bering>
  References: <11781844085.20010511081908@vo.lu> <01051120155301.00699@bering>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox