[ Index ] |
PHP Cross Reference of DokuWiki |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 124 lines (4 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
FeedDate:: (4 methods):
__construct()
rfc822()
iso8601()
unix()
__construct($dateString = "") X-Ref |
Creates a new instance of FeedDate representing a given date. Accepts RFC 822, ISO 8601 date formats as well as unix time stamps. param: mixed $dateString optional the date this FeedDate will represent. If not specified, the current date and |
rfc822() X-Ref |
Gets the date stored in this FeedDate as an RFC 822 date. return: string a date in RFC 822 format |
iso8601() X-Ref |
Gets the date stored in this FeedDate as an ISO 8601 date. return: string a date in ISO 8601 format |
unix() X-Ref |
Gets the date stored in this FeedDate as unix time stamp. return: int a date as a unix time stamp |