Return-Path: owner-postman Received: from localhost.Berkeley.EDU (localhost.Berkeley.EDU [127.0.0.1]) by nobozo.CS.Berkeley.EDU (8.6.10/8.6.3) with SMTP id HAA31180 for postgres-redist; Mon, 19 Aug 1996 07:58:16 -0700 Resent-From: POSTGRES mailing list Resent-Message-Id: <199608191458.HAA31180@nobozo.CS.Berkeley.EDU> X-Authentication-Warning: nobozo.CS.Berkeley.EDU: Host localhost.Berkeley.EDU didn't use HELO protocol Sender: owner-postman@postgres.Berkeley.EDU X-Return-Path: owner-postman Received: from bailey.netlink.co.uk (robp@bailey.netlink.co.uk [194.72.237.13]) by nobozo.CS.Berkeley.EDU (8.6.10/8.6.3) with ESMTP id HAA27338 for ; Mon, 19 Aug 1996 07:58:09 -0700 Received: (from robp@localhost) by bailey.netlink.co.uk (8.6.12/8.6.9) id PAA01982 for postgres@postgres.berkeley.edu; Mon, 19 Aug 1996 15:58:56 +0100 From: Rob Partington (Tech Support) Message-Id: <199608191458.PAA01982@bailey.netlink.co.uk> Subject: Difference between dates and now, and between dates To: postgres@postgres.Berkeley.EDU Date: Mon, 19 Aug 1996 15:58:56 +0100 (GMT+0100) X-Mailer: ELM [version 2.4 PL25 PGP3 *ALPHA*] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 664 Resent-To: postgres-redist@postgres.Berkeley.EDU Resent-Date: Mon, 19 Aug 96 07:58:16 -0700 Resent-XMts: smtp Call me dense, but I can't find any information about how to find the difference between two dates (or between a date and now). I tried simple subtraction (D.date - '08/19/1996', epoch - D.date) but they don't work. AltaVista and Yahoo were no help, so any assistance would be gratefully received (especially since my Elmasri+Navath is 8 miles away from my desk... :-) Rob Partington -- Rob Partington / Network Manager / System Administrator / robp@netlink.co.uk Netlink don't pay me enough to speak for them, so I don't. "Can't fix the car...without a who-o-ole lot of milk" KitH Send me a business card if you're happy with my tech support/administering!! ============================================================================== To add/remove yourself to/from the POSTGRES mailing list: send mail with the subject line ADD or DEL to "postgres-request@postgres.Berkeley.EDU". If this fails, send mail to "post_questions@postgres.Berkeley.EDU" and a human will deal with it. DO NOT post to the "postgres" mailing list. ============================================================================== URL: http://s2k-ftp.CS.Berkeley.EDU:8000/postgres/