Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: "Christoph M. Becker" Newsgroups: comp.lang.javascript Subject: Re: Date arithmetic Date: Mon, 17 Nov 2014 00:14:41 +0100 Organization: solani.org Lines: 20 Message-ID: References: <111120142237479787%timstreater@greenbee.net> <6814026.8sujcrue1K@PointedEars.de> <2522104.44tFU7hUGp@PointedEars.de> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Trace: solani.org 1416179680 23383 eJwFwYEBwDAEBMCVPF4YJ7T2HyF3tEDM8WA4l3uMknKv/bOguxZ8IEPoVkcneicLWPnETB8IsxBY (16 Nov 2014 23:14:40 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Sun, 16 Nov 2014 23:14:40 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 X-User-ID: eJwNxskRwDAIBLCWlgHWTjmc/Zfg6CVXCusYnebrG46ZvCMMTEf9s15Ifn1zFVUnNRXGUfipBzuXEdo= In-Reply-To: <2522104.44tFU7hUGp@PointedEars.de> Cancel-Lock: sha1:C87P95wYjaLwIUIelQFCb5n2bd4= X-NNTP-Posting-Host: eJwNwgERwDAIA0BLMEgGctqw+pfQ3T+CTr1JMHF+qtRwsQ3d6uU0eJwyxEAW37NFjDfKY9sFC7cQQQ== Xref: csiph.com comp.lang.javascript:26149 Thomas 'PointedEars' Lahn wrote: > Christoph M. Becker wrote: > >> Dr J R Stockton wrote: >>> Christoph M. Becker posted: >>>> The calculation in jsx.date.dateOfYear() is rather intriguing; I wasn't >>>> aware of that formula. >>> What formula? >> >> The formula to calculate the day of the year for days between march and >> december that is used in jsx.date.dateOfYear()[1]: > > I repeat: There is no jsx.date.dateOfYear(). Of course. Sorry for getting this wrong twice. -- Christoph M. Becker