FeedWriter\Item::setDate
Set the 'date' element of the feed item.
The value of the date parameter can be either an instance of the DateTime class, an integer containing a UNIX timestamp or a string which is parseable by PHP's 'strtotime' function.
Signature
public function setDate(
$date )
Parameters
$date
—
Returns
- Item