Re: Add ISO 8601 date format constant with millisecond precision

From: Date: Tue, 22 Sep 2026 14:28:53 +0000
Subject: Re: Add ISO 8601 date format constant with millisecond precision
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-132589@lists.php.net to get a copy of this message
Hi On 2026-08-31 10:56, Tim Düsterhus wrote:
There are some long-standing plans to introduce a new date and time API and with PHP 8.6 the first part of it will ship: https://wiki.php.net/rfc/duration_class. I believe at this point it may be more useful to focus on continuing shipping a new API than to add even more stuff to the existing API. As an example, the proposed Time\Instant is intentionally timezone-less and an ISO 8601 string with the Z timezone would be an obvious method to add there.
Discussion for Time\Instant is now open: https://news-web.php.net/php.internals/132588 Best regards Tim Düsterhus

« previous php.internals (#132589) next »