pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: email lists <lists@darrenmackay.com>
To: pgsql-sql@postgresql.org
Subject: date_trunc for 5 minutes intervals
Date: Sun, 19 Oct 2003 23:38:05 +1000
Message-ID: <035C9F7CE28601428BBB5B051C9F77F20766F4@orion.mackay.local> (raw)

Hi All,

I am wanting to perform the equivalent of date_trunc to 5/10/15 minute
intervals. As this does mnot seem to be natively supported by
date_trunc, can anyone point me in the right direction to possible write
the SQL ro acheive the desired outcome?

Tia,

Darren



view thread (4+ messages)  latest in thread

Message-ID: <035C9F7CE28601428BBB5B051C9F77F20766F4@orion.mackay.local>
Permalink:  ../035C9F7CE28601428BBB5B051C9F77F20766F4@orion.mackay.local/
Also on:    postgresql.org/message-id/035C9F7CE28601428BBB5B051C9F77F20766F4@orion.mackay.local

 · 

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: lists@darrenmackay.com
  Subject: Re: date_trunc for 5 minutes intervals
  In-Reply-To: <035C9F7CE28601428BBB5B051C9F77F20766F4@orion.mackay.local>
  References: <035C9F7CE28601428BBB5B051C9F77F20766F4@orion.mackay.local>

* 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