共用方式為


IFeedItem::PubDate Property

Retrieves the publication date of the feed item.

Syntax

HRESULT IFeedItem::get_PubDate(DATE *pubDate);

Parameters

  • pubDate
    Pointer to a variable of type DATE that receives the date and time when the feed item was published.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

Publication date is an optional feed item component. The value is 0 if not specified in the source. A value of 0 is representative of the date "Sat Dec 30 00:00:00 PST 1899".

Note  The date is adjusted for the local time zone.

See Also

IFeedItem::Modified