$field->toTimestamp()
Converts the field value to a Unix timestamp
$field->toTimestamp(): int|false
Return types
int
orfalse
This method modifies the existing $field
object it is applied to and returns it again.
Examples
<?= $page->createdAt()->toTimestamp() ?>