메소드 | 설명 | |
---|---|---|
__construct ( integer $time = null, integer $usec = null ) | Creates a new timestamp from either unix timestamp and microseconds or from the current time by default. | |
__toString ( ) : string | Returns a string representation of this timestamp. | |
microtime ( boolean $get_as_float = false ) : float | string | Microtime from this timestamp | |
time ( ) : integer | Unix timestamp. | |
toDateTime ( ) : DateTime | Converts current timestamp to PHP DateTime. | |
type ( ) : cassandra\Type | The type of this timestamp. |
public __construct ( integer $time = null, integer $usec = null ) | ||
$time | integer | Unix timestamp |
$usec | integer | Microseconds |
public __toString ( ) : string | ||
리턴 | string | timestamp |
public toDateTime ( ) : DateTime | ||
리턴 | DateTime | PHP representation |