Method |
Description |
|
__construct ( $time = null, $offset = null ) |
|
|
__set_state ( $state ) |
|
|
__sleep ( ) |
|
|
__toString ( ) |
|
|
__wakeup ( ) |
|
|
age ( $threshold = null, $yformat = null, $absformat = null, $suffix = null, $compared_to = null, $momentago = null, $prefix = null ) |
Relative age |
|
condensed ( $ranges = [86400 => '%H:%M', 31536000 => '%b %e'], $compared_to = null ) |
|
|
format ( $format = '%FT%H:%M:%S%z' ) |
|
|
formatTimezoneOffset ( $offset, $format = 'H:i' ) |
|
|
localTimezoneOffset ( ) |
The offset for timezones west of UTC is always negative, and for those
east of UTC is always positive. |
|
mergeString ( $s, $adjustTimezone = false ) |
|
|
origformat ( $format = '%FT%H:%M:%S', $tzformat = 'H:i' ) |
|
|
reintrepretTimezone ( $tzoffset ) |
|
|
utcformat ( $format = '%FT%H:%M:%SZ' ) |
|
|