API / Minn\Feed / Dates

Dates final class

Minn\Feed\Dates · public/minn/src/Minn/Feed/Dates.php · 16 lines

Feed dates (RFC 822, W3C, and the looser forms feeds carry) as Unix timestamps; a date without a zone is UTC.

Public

staticparse(?string $text): ?int#

The timestamp, or null when the text names no date.