X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id EF4FF329DCD for ; Fri, 22 Oct 2004 13:21:05 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 94123-10 for ; Fri, 22 Oct 2004 12:20:49 +0000 (GMT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by svr1.postgresql.org (Postfix) with ESMTP id 33AE932A36E for ; Fri, 22 Oct 2004 13:20:55 +0100 (BST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.12.9/8.12.9) with ESMTP id i9MCKlJ7099015 for ; Fri, 22 Oct 2004 12:20:47 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.12.9/8.12.9/Submit) id i9MC4Bct094129 for pgsql-sql@postgresql.org; Fri, 22 Oct 2004 12:04:11 GMT From: jirinej@volny.cz (JN) X-Newsgroups: comp.databases.postgresql.sql Subject: now() + integer, not rounded to whole day Date: 22 Oct 2004 05:04:18 -0700 Organization: http://groups.google.com Lines: 8 Message-ID: <7e29a94a.0410220404.314f4308@posting.google.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: groups-abuse@google.com To: pgsql-sql@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200410/177 X-Sequence-Number: 19280 Is it possible to add some portion of the day to now() ? I cannot round now() to whole days like now()::date. Hours, minutes and seconds are also important to me. This I had in Oracle, and need to convert it : sysdate + 1/1440 Thanks for any suggestion.