Lines Matching refs:date
4 * FeedDate is an internal class that stores a date for a feed or feed item.
12 * Creates a new instance of FeedDate representing a given date.
13 * Accepts RFC 822, ISO 8601 date formats (or anything that PHP's DateTime
16 * @param mixed $dateString optional the date this FeedDate will represent. If not specified, the current date and
22 $dateString = date("r");
37 * Gets the date stored in this FeedDate as an RFC 822 date.
39 * @return string a date in RFC 822 format
44 $date = gmdate("D, d M Y H:i:s O", $this->unix);
46 return $date;
50 * Gets the date stored in this FeedDate as an ISO 8601 date.
52 * @return string a date in ISO 8601 format
56 $date = gmdate("Y-m-d\TH:i:sP", $this->unix);
58 return $date;
62 * Gets the date stored in this FeedDate as unix time stamp.
64 * @return int a date as a unix time stamp