Class FeedDate

Description

FeedDate is an internal class that stores a date for a feed or feed item.

Usually, you won't need to use this.

Located in /includes/feedcreator.class.php (line 748)


	
			
Variable Summary
mixed $unix
Method Summary
FeedDate FeedDate ([mixed $dateString = ""])
a iso8601 ()
a rfc822 ()
a unix ()
Variables
mixed $unix (line 749)
Methods
Constructor FeedDate (line 756)

Creates a new instance of FeedDate representing a given date.

Accepts RFC 822, ISO 8601 date formats as well as unix time stamps.

FeedDate FeedDate ([mixed $dateString = ""])
  • mixed $dateString: optional the date this FeedDate will represent. If not specified, the current date and time is used.
iso8601 (line 825)

Gets the date stored in this FeedDate as an ISO 8601 date.

  • return: date in ISO 8601 (RFC 3339) format
a iso8601 ()
rfc822 (line 808)

Gets the date stored in this FeedDate as an RFC 822 date.

  • return: date in RFC 822 format
a rfc822 ()
unix (line 838)

Gets the date stored in this FeedDate as unix time stamp.

  • return: date as a unix time stamp
a unix ()

Documentation generated on Wed, 28 Mar 2007 09:54:15 -0600 by phpDocumentor 1.3.1