Fyrimynd:Get year/doc

Frá Wikipedia, hin frælsa alfrøðin
Jump to navigation Jump to search
Given a plain text date, returns the year. Accepts ISO8601, a variety of date formats as well as a year-only date specification.
Does [not?] understand BC / AD and may not deliver accurate results for single-digit dates.