class Date
A PHP representation of the CQL date type.
Implements
Methods
__construct
(int $seconds )
Creates a new Cassandra\Date object
Cassandra\Type type
( )The type of this date.
int seconds
( )Converts current date to PHP DateTime.
string __toString
( )
static
DateTime fromDateTime
(DateTime $datetime )
Creates a new Cassandra\Date object from a DateTime object.
- Static
- This method is static
