Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 10C8A6333EA for ; Wed, 31 Mar 2010 08:45:35 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 29161-09 for ; Wed, 31 Mar 2010 11:45:24 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from ananke.wxnz.net (ananke.wxnz.net [58.28.4.122]) by mail.postgresql.org (Postfix) with ESMTP id 75638632F75 for ; Wed, 31 Mar 2010 08:45:24 -0300 (ADT) Received: from gonzo (ip-118-90-134-42.xdsl.xnet.co.nz [118.90.134.42]) by ananke.wxnz.net (Postfix) with ESMTP id 8D6F3171134 for ; Thu, 1 Apr 2010 00:44:24 +1300 (NZDT) Received: from news by gonzo with local (Exim 4.69) (envelope-from ) id 1NwwLP-0003q6-40 for pgsql-sql@postgresql.org; Thu, 01 Apr 2010 00:44:23 +1300 To: pgsql-sql@postgresql.org Path: not-for-mail From: Jasen Betts Newsgroups: gmane.comp.db.postgresql.sql Subject: Re: Week to date function Date: 31 Mar 2010 11:44:17 GMT Organization: Dis (not Dat) Organisation Lines: 10 Message-ID: References: <4BAB2C15.8090406@wp.pl> <4BAC9107.5070701@wp.pl> <4BAE68FA.8000803@wp.pl> <40FB2AE5907F9743A593A85015F157BF03FE1086@ARG-EXVS03.corp.argushealth.com> NNTP-Posting-Host: localhost Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: reversiblemaps.ath.cx 1270035857 14583 127.0.0.1 (31 Mar 2010 11:44:17 GMT) X-Face: ?)Aw4rXwN5u0~$nqKj`xPz>xHCwgi^q+^?Ri*+R(&uv2=E1Q0Zk(>h!~o2ID@6{uf8s; a +M[5[U[QT7xFN%^gR"=tuJw%TXXR'Fp~W; (T"1(739R%m0Yyyv*gkGoPA.$b,D.w:z+<'"=-lVT?6 {T?=R^:W5g|E2#EhjKCa+nt":4b}dU7GYB*HBxn&Td$@f%.kl^:7X8rQWd[NTc"P"u6nkisze/Q; 8 "9Z{peQF,w)7UjV$c|RO/mQW/NMgWfr5*$-Z%u46"/00mx-,\R'fLPe.)^ User-Agent: slrn/pre1.0.0-2 (Linux) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.001 tagged_above=-10 required=5 tests=BAYES_50=0.001 X-Spam-Level: X-Archive-Number: 201003/219 X-Sequence-Number: 33926 On 2010-03-27, Hiltibidal, Rob wrote: > Uhhhh only 52 calendar weeks in a year... I'm almost sure that is the > norm All hours have 60 minutes All weeks have 7 days All years have 12 months all else is variable.