pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nikhil G. Daddikar <ngd@celoxis.com>
To: pgsql-sql@postgresql.org
Subject: Generating list of days in a given time interval
Date: Mon, 5 Nov 2001 10:47:25 +0530
Message-ID: <005e01c165b9$2d538d10$2c00a8c0@darkstar> (raw)

I would like to do the following:

Input: start date, end date
output: list of days between start date and end date

Example: If input is: 2 Nov 2000, 3 Dec 2000, required output is 2 Nov, 3
Nov, 4 Nov, ... 3 Dec

Thanks in advance!
Nikhil




Message-ID: <005e01c165b9$2d538d10$2c00a8c0@darkstar>
Permalink:  ../005e01c165b9$2d538d10$2c00a8c0@darkstar/
Also on:    postgresql.org/message-id/005e01c165b9$2d538d10$2c00a8c0@darkstar

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: ngd@celoxis.com
  Subject: Re: Generating list of days in a given time interval
  In-Reply-To: <005e01c165b9$2d538d10$2c00a8c0@darkstar>

* 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