Path: csiph.com!weretis.net!feeder4.news.weretis.net!feeder5.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: "Christoph M. Becker" Newsgroups: comp.lang.javascript Subject: Re: What is wrong with this If Else construction? Date: Wed, 28 Dec 2016 01:01:12 +0100 Organization: solani.org Lines: 18 Message-ID: References: <47744619-426f-4af1-8376-e2935a2570db@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: solani.org 1482883233 17304 eJwNyckRwDAIBLCWWBsWKMfD0X8Jib6yS7BcaVRbW2AzXLElVa+m80irJ2P6/DXNZ+dCgkiT/AAgixC0 (28 Dec 2016 00:00:33 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Wed, 28 Dec 2016 00:00:33 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 In-Reply-To: X-NNTP-Posting-Host: eJwNw4kNwDAIBLCViOB4xskR2H+E1pKhfrzDHG5YbEbwoiEKkslVgQ1KqoonFzlP8z7p/2h+GqMRPA== X-User-ID: eJwNwoERACEIA7CVUGiL44Ae+4/wfwmci1dBMDA/29sdMapwj/UqJDxBlsU+VsRh5yR6Mu8H9dQQJA== Cancel-Lock: sha1:qx1l0rLrXlmGT6inIN58LRks/RE= Xref: csiph.com comp.lang.javascript:32004 On 27.12.2016 at 23:52, Dr J R Stockton wrote: > In comp.lang.javascript message <47744619-426f-4af1-8376-e2935a2570db@go > oglegroups.com>, Mon, 26 Dec 2016 00:05:46, bart.smissaert@gmail.com > posted: > >> New to JavaScript and trying to calculate the date of birth from an >> Excel date, provided as an integer value (1 Jan 1900 = 1). > > Firstly, correct the Excel date (by +1 or -1, to allow for the idiot > Californians not understanding the Gregorian calendar) as necessary; > call that CXLD. Are you referring to Redmond, CA? -- Christoph M. Becker