Path: csiph.com!news.freedyn.net!news.mb-net.net!open-news-network.org!.POSTED!not-for-mail From: Thomas 'PointedEars' Lahn Newsgroups: comp.lang.javascript Subject: Re: convert dob into days Date: Thu, 25 May 2017 01:00:19 +0200 Organization: PointedEars Software (PES) Lines: 18 Message-ID: <3278626.MHq7AAxBmi@PointedEars.de> References: <3168351.R56niFO833@PointedEars.de> Reply-To: Thomas 'PointedEars' Lahn NNTP-Posting-Host: 80.227.197.178.dynamic.wless.zhbmb00p-cgnat.res.cust.swisscom.ch Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Trace: gwaiyur.mb-net.net 1495666820 12902 178.197.227.80 (24 May 2017 23:00:20 GMT) X-Complaints-To: abuse@open-news-network.org NNTP-Posting-Date: Wed, 24 May 2017 23:00:20 +0000 (UTC) User-Agent: KNode/4.14.2 X-Face: %i>XG-yXR'\"2P/C_aO%~;2o~?g0pPKmbOw^=NT`tprDEf++D.m7"}HW6.#=U:?2GGctkL,f89@H46O$ASoW&?s}.k+&. On 05/24/2017 01:06 PM, Thomas 'PointedEars' Lahn wrote: >> That aside, as you are looking for days and are rounding anyway, >> so that DST does not matter, the basic approach is correct. > > There is still a possibility of an error here, if you run this > calculation late in the day. With rounding? Your From header field value is disregarding Netiquette. -- PointedEars FAQ: | | Twitter: @PointedEars2 | Please do not cc me./Bitte keine Kopien per E-Mail.