Method |
Description |
|
__toString ( ) : string |
Format the instance as a string using the set format |
|
resetToStringFormat ( ) : void |
Reset the format used to the default when type juggling a ChronosInterface instance to a string |
|
setToStringFormat ( string $format ) : void |
Set the default format used when type juggling a ChronosInterface instance to a string |
|
toAtomString ( ) : string |
Format the instance as ATOM |
|
toCookieString ( ) : string |
Format the instance as COOKIE |
|
toDateString ( ) : string |
Format the instance as date |
|
toDateTimeString ( ) : string |
Format the instance as date and time |
|
toDayDateTimeString ( ) : string |
Format the instance with day, date and time |
|
toFormattedDateString ( ) : string |
Format the instance as a readable date |
|
toIso8601String ( ) : string |
Format the instance as ISO8601 |
|
toQuarter ( boolean $range = false ) : mixed |
Returns the quarter |
|
toRfc1036String ( ) : string |
Format the instance as RFC1036 |
|
toRfc1123String ( ) : string |
Format the instance as RFC1123 |
|
toRfc2822String ( ) : string |
Format the instance as RFC2822 |
|
toRfc3339String ( ) : string |
Format the instance as RFC3339 |
|
toRfc822String ( ) : string |
Format the instance as RFC822 |
|
toRfc850String ( ) : string |
Format the instance as RFC850 |
|
toRssString ( ) : string |
Format the instance as RSS |
|
toTimeString ( ) : string |
Format the instance as time |
|
toUnixString ( ) : string |
Returns a UNIX timestamp. |
|
toW3cString ( ) : string |
Format the instance as W3C |
|
toWeek ( ) : integer |
|
|