Class DateTime
- DateTime implements DateTimeInterface
Methods summary
-
public__construct ( mixed $time, mixed $object ) -
public__wakeup ( ) -
public static__set_state ( ) -
public staticcreateFromFormat ( mixed $format, mixed $time, mixed $object ) -
public staticgetLastErrors ( ) -
publicformat ( mixed $format ) -
publicmodify ( mixed $modify ) -
publicadd ( mixed $interval ) -
publicsub ( mixed $interval ) -
publicgetTimezone ( ) -
publicsetTimezone ( mixed $timezone ) -
publicgetOffset ( ) -
publicsetTime ( mixed $hour, mixed $minute, mixed $second ) -
publicsetDate ( mixed $year, mixed $month, mixed $day ) -
publicsetISODate ( mixed $year, mixed $week, mixed $day ) -
publicsetTimestamp ( mixed $unixtimestamp ) -
publicgetTimestamp ( ) -
publicdiff ( mixed $object, mixed $absolute )
Methods detail
Implementation of
Implementation of
Implementation of
Implementation of
Implementation of
Implementation of
Magic methods summary
Constants summary
string |
ATOM
|
'Y-m-d\\TH:i:sP' |
|
string |
COOKIE
|
'l, d-M-Y H:i:s T' |
|
string |
ISO8601
|
'Y-m-d\\TH:i:sO' |
|
string |
RFC822
|
'D, d M y H:i:s O' |
|
string |
RFC850
|
'l, d-M-y H:i:s T' |
|
string |
RFC1036
|
'D, d M y H:i:s O' |
|
string |
RFC1123
|
'D, d M Y H:i:s O' |
|
string |
RFC2822
|
'D, d M Y H:i:s O' |
|
string |
RFC3339
|
'Y-m-d\\TH:i:sP' |
|
string |
RSS
|
'D, d M Y H:i:s O' |
|
string |
W3C
|
'Y-m-d\\TH:i:sP' |