pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: macky <macky@edsamail.com>
To: pgsql-novice@postgresql.org
To: pgsql-sql@postgresql.org
Subject: Arithmetic operation on DATE
Date: Mon, 13 Aug 2001 17:48:57 +0800
Message-ID: <001401c123dd$2c383430$5764a8c0@edsamail.com> (raw)

is it possible to add a date datatype column to a number resulting to a
date......


theoretically it should do this,,,

X is in months

date + X = date

-->  2001-08-20 + 6 = 2002-02-20

----------------------------------------------------------------------
The information contained in this message (including any attachments)
is confidential and intended solely for the attention and use of the
named addressee(s). It must not be copied, distributed nor disclosed
to any person. If you are not the intended recipient, please delete
it from your system and notify sender immediately. Any disclosure,
copying or distribution thereof or any action taken or omitted to be
taken in reliance thereon is prohibited and may be unlawful.
----------------------------------------------------------------------





view thread (8+ messages)  latest in thread

Message-ID: <001401c123dd$2c383430$5764a8c0@edsamail.com>
Permalink:  ../001401c123dd$2c383430$5764a8c0@edsamail.com/
Also on:    postgresql.org/message-id/001401c123dd$2c383430$5764a8c0@edsamail.com

 · 

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: macky@edsamail.com, pgsql-novice@postgresql.org
  Subject: Re: Arithmetic operation on DATE
  In-Reply-To: <001401c123dd$2c383430$5764a8c0@edsamail.com>

* 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