/** * Converts a time in any format to an RSS time * * @param int|string|DateTime $time * @return string An RSS-formatted timestamp * @see Time::toRssString() */ public function time($time) { $time = new Time($time); return $time->toRssString(); }