Skip to content

v2.13: Adds utility function to create DateTimeImmutable

Choose a tag to compare

@thorewi thorewi released this 17 Jun 06:06
· 20 commits to master since this release
Adds a static method that attempts to create a DateTimeImmutable object from an array containing date and timezone information.

Returns null if the input data is invalid or if an exception occurs during DateTimeImmutable creation.