pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Martin Marques <martin@bugs.unl.edu.ar>
To: pgsql-sql@postgresql.org
Subject: inverse of "day of year"
Date: Fri, 19 Mar 2004 09:06:17 -0300
Message-ID: <200403190906.17641.martin@bugs.unl.edu.ar> (raw)

Is there a function that would give me the date for a given day of year?

Something like the inverse of "EXTRACT(doy FROM date)"?

-- 
 09:04:02 up 10 days, 13:35,  4 users,  load average: 0.42, 0.29, 0.33
-----------------------------------------------------------------
Martín Marqués        | select 'mmarques' || '@' || 'unl.edu.ar'
Centro de Telematica  |  DBA, Programador, Administrador
             Universidad Nacional
                  del Litoral
-----------------------------------------------------------------




view thread (9+ messages)  latest in thread

Message-ID: <200403190906.17641.martin@bugs.unl.edu.ar>
Permalink:  ../200403190906.17641.martin@bugs.unl.edu.ar/
Also on:    postgresql.org/message-id/200403190906.17641.martin@bugs.unl.edu.ar

 · 

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: martin@bugs.unl.edu.ar
  Subject: Re: inverse of "day of year"
  In-Reply-To: <200403190906.17641.martin@bugs.unl.edu.ar>

* 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