Template:Date number/doc

This template is called by Module:FRCalendar.

This function receives a date and a year in the Calendar of Harptos and computes how many days it lies after Hammer 1 of the last leap year, with Hammer 1 = zero. The first parameter is the day and month or a special date name, in the same format as FR date produces. For example: "15 Ches" or "Feast of the Moon" The second parameter is the integer year, in Dalereckoning. For example: "1478". If no input is given, it defaults to the current and translates this to a Harptos date.