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 704)


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

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 776)

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

  • return: date in ISO 8601 format
a iso8601 ()
rfc822 (line 764)

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

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

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

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

Documentation generated on Fri, 4 Mar 2005 13:56:12 +1000 by phpDocumentor 1.3.0RC3