DateTimeField
Class. It extends Field.
A time column of a table (DateTimeImmutable), stored in UTC to the second; times of other time zones are
converted before they are compared. Meta fields have no time type.
Constructor
Methods
between()
Matches times from $min to $max, both included.
Returns Condition
equals()
Matches times equal to $value.
Returns Condition
getClass()
The class the field belongs to.
Returns class-string
getField()
The name of the field: the name of the constructor parameter.
Returns string
greaterOrEqual()
Matches times at or after $value.
Returns Condition
greaterThan()
Matches times after $value.
Returns Condition
in()
Matches times equal to one of $values. Throws an InvalidArgumentException if no value is given.
Returns Condition
lessOrEqual()
Matches times at or before $value.
Returns Condition
lessThan()
Matches times before $value.
Returns Condition
notEquals()
Matches times not equal to $value. On a nullable column, rows whose column is null match as well.
Returns Condition
notIn()
Matches times equal to none of $values. On a nullable column, rows whose column is null match as well. Throws an InvalidArgumentException if no value is given.
Returns Condition