You are here

Shire calendar conversion


Boy, do I hate date calculations. Gregorian dates are so cumbersome to calculate, I mostly switch to Julian dates to work with. Even with the Perl Date::Calc module I really hate those calculations...

I noticed that someone implemented a Perl module to convert Gregorian dates to Tolkien's Shire date system. The Date::Tolkien::Shire module converts dates into the Shire Calender as presented in the Lord of the Rings by J. R. R. Tolkien. It includes converting epoch time to the Shire Calendar (you can also get epoch time back), comparison operators, and a method to print a formatted string containing that does something to the effect of on this date in history -- pulling events from the Lord of the Rings.