Skip to content

Kirby 6.0.0

$fieldMethods->toTimestamp()

Converts the field value to a Unix timestamp

$fieldMethods->toTimestamp(): int|false

Return types

intorfalse

Parent class

Kirby\Content\FieldMethods