class Date
A PHP representation of the CQL date type.
Implements
Methods
__construct
(int $seconds )
Creates a new Dse\Date object
Dse\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 Dse\Date object from a DateTime object.
- Static
- This method is static