idate
spatie/fork
Supported Versions: PHP 5, PHP 7, PHP 8
Format a local time/date part as integer
<?php idate
(
string $format
, ?
int $timestamp
=
null
):
int
|
false