$field->toTimestamp()
Converts the field value to a Unix timestamp
$field->toTimestamp(): int|false
Return type
int
|false
Examples
<?= $page->createdAt()->toTimestamp() ?>
Converts the field value to a Unix timestamp
$field->toTimestamp(): int|false
int
|false
<?= $page->createdAt()->toTimestamp() ?>