Skip to content

Kirby 5.1.2

$date->__serialize()

$date->__serialize(): array

Return type

array

This method modifies the existing $date object it is applied to and returns it again.

Parent class

Kirby\Toolkit\Date inherited from DateTime