idate()
function idate(string $format, ?int $timestamp = null): mixed
Formats a timestamp with a single format character and returns it as an integer.
Parameters:
$format(string)$timestamp(?int), defaultnull, optional
Returns: mixed
Availability
| Compiled (AOT) | Magician (eval) |
|---|---|
| Available | Available |
No examples yet. Check examples/ and showcases/ for usage patterns.
Internals
For how idate is implemented in the compiler, see the internals page.