Skip to content

Kirby 6.0.0

V::date()

Checks for a valid date or compares two dates with each other.

V::date(string|null $value, string|null $operator = null, string|null $test = null): bool

Parameters

Name Type Default
$value stringornull no default value
$operator stringornull null
$test stringornull null

Return type

bool

Parent class

Kirby\Toolkit\V