Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:105469 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 64597 invoked from network); 27 Apr 2019 21:16:04 -0000 Received: from unknown (HELO mail-wm1-f52.google.com) (209.85.128.52) by pb1.pair.com with SMTP; 27 Apr 2019 21:16:04 -0000 Received: by mail-wm1-f52.google.com with SMTP id j13so8084641wmh.2 for ; Sat, 27 Apr 2019 11:17:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:user-agent:in-reply-to:references:mime-version :content-transfer-encoding:subject:to:from:message-id; bh=bB5MZZC6nSsdJy986cg71yMZ24HNdQ9+hZ96qYVWUOw=; b=JWmE2GPxnZ5P3h3A1CmiqFmM+ITK3X9l2KFY2FKjPgYEjYByZDTTcgia783PbZvjQ4 KcD+9A8jJetZW3fL5NEd4lJyDRWDSg6oA8zOxprLt9PqCrzmVtQ1hU37wJBGjF2NLi8E CYb3EpWpZlwEApohYU2qR/pYg/UfKidfT8NIJZvA31UidHxzaOEHFOLoVWG5NyyeTKUi a9gsd1V/J/q2P11Nef3QKe8gp8RCzbri5CngzDLq3M6DHcLvuqnARALYqs96X6gRlPDF RTc/WCOIeHVLHtxK9hAI7ociTnK4c4KzMyD4C/yLI00GxVZrJ+CIVJO+3a1K+w08dnrD 7/vA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:user-agent:in-reply-to:references :mime-version:content-transfer-encoding:subject:to:from:message-id; bh=bB5MZZC6nSsdJy986cg71yMZ24HNdQ9+hZ96qYVWUOw=; b=cYdtonaKZ3ubEdGlJqdSeBwhbxXOAIMRNp0LBr+TT6A9rbUp9ef7Ol2JL+KDfx5QhI 9ZOTFQRb5mkc3k0QXooyaPM71tp+L9a/oYbqN6QhhqsI+eB478wjIrNcPplk+636/cm2 wr9qoRheM9On2X9ZV+3BP8/P6anm/9sqoR5DseAlb9VYQC5qc2b3rOT9cImhscp6U2Jj rWssbJQ392XphuY0UZJl8vwUaiZb5G2hitVDh2KCdixiXg+VDqFHjdphV5HTgM2etE8j +WpgsrkiXwPk6TT7cwxfHPnu0USdULIvtutviomM8mWPuEfc+6lRQuDm31bq/AO4jG8W +JVQ== X-Gm-Message-State: APjAAAW6MfRVrQJIrs1Tz8D76ey+wdYhRuvI5Ly8xBN6V4yJALDOFJHw j+ppQDVNR1KLtg95WUew/8dUG96R X-Google-Smtp-Source: APXvYqz4F41XMmKkQmcVLti70ljzl+aJD/WNBbuS1OOT4w+2fsA6iV+5d0zQ7XGj/+kEFwxHVVB7MA== X-Received: by 2002:a1c:e185:: with SMTP id y127mr12847318wmg.76.1556389050464; Sat, 27 Apr 2019 11:17:30 -0700 (PDT) Received: from [192.168.0.12] (cpc84253-brig22-2-0-cust114.3-3.cable.virginm.net. [81.108.141.115]) by smtp.gmail.com with ESMTPSA id s12sm24914248wmj.42.2019.04.27.11.17.28 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 27 Apr 2019 11:17:29 -0700 (PDT) Date: Sat, 27 Apr 2019 19:17:25 +0100 User-Agent: K-9 Mail for Android In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable To: internals@lists.php.net Message-ID: Subject: Re: [PHP-DEV] Revive Number Format Separator RFC From: rowan.collins@gmail.com (Rowan Collins) On 27 April 2019 13:51:11 BST, Lester Caine wrote: >On 27/04/2019 13:37, Rowan Collins wrote: >> The only way I've seen dates stored as integers is as a number of=20 >> seconds / milliseconds / whatever since some epoch, most commonly=20 >> seconds since 1970-01-01 00:00:00 UTC > >Use of a days count rather than a seconds count makes dates a lot >easier=20 >to work with=2E 2 32bit numbers give a substantial day count along with= =20 >either fractional time of day or alternatively a second count for the=20 >day=2E That makes sense, but it's still a variant on the epoch + count concept, n= ot year-month-day as in Bishop's example=2E As such, it still wouldn't part= icularly benefit from separators; you'd probably write constants in string = form and convert them on the fly, or have durations which were multiples of= 7 or 365 rather than powers of 10 or 16=2E Regards, --=20 Rowan Collins [IMSoP]