Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id DDD444758F8 for ; Tue, 7 May 2002 04:56:44 -0400 (EDT) Received: from pns.mm.eutelsat.org (pns.mm.eutelsat.org [194.214.173.227]) by postgresql.org (Postfix) with ESMTP id 5AA134758DE for ; Tue, 7 May 2002 04:56:43 -0400 (EDT) Received: from nts-03.mm.eutelsat.org (localhost [127.0.0.1]) by pns.mm.eutelsat.org (8.11.6/linuxconf) with ESMTP id g478uDJ19551; Tue, 7 May 2002 10:56:13 +0200 Received: from dell-01.mm.eutelsat.org (IDENT:root@dell-01.mm.eutelsat.org [194.214.173.17]) by nts-03.mm.eutelsat.org (8.9.3/8.8.7) with ESMTP id JAA22662; Tue, 7 May 2002 09:50:15 +0200 Received: from GMENDOLA2 (gmendola2.mm.eutelsat.org [194.214.173.26]) by dell-01.mm.eutelsat.org (8.11.2/8.8.7) with SMTP id g478uDL15183; Tue, 7 May 2002 10:56:13 +0200 Message-ID: <00a801c1f5a5$10d79f60$d5a9fea9@GMENDOLA2> From: "Gaetano Mendola" To: "Rajesh Kumar Mallah." , References: <009b01c1f598$fbede2f0$d5a9fea9@GMENDOLA2> <200205071316.42997.mallah@trade-india.com> Subject: Re: Add a month Date: Tue, 7 May 2002 10:56:24 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Archive-Number: 200205/45 X-Sequence-Number: 4220 From: "Rajesh Kumar Mallah." > Hi the answer is: > > select now() + cast ( '1 day' as interval ) ; I guess that for me should be enough cast ('1 month' as interval) or may be after RTFM should be also good select now() + interval '1 month'; > are you reading manuals ?? of course before to ask I give a look at manuals but I was looking: paragraph 3.5 and Appendix A of User's Guide ===> nothing after searching 'cast' on all document I find that was on paragraph 4.8 my answer but may was good put a link from 3.5 to 4.8 ? Ciao Gaetano.