When is the next occurrence of Friday the 13th?

Log in to Vote
2
2 Votes • 2 Comments
I just noticed that tomorrow (March 13, 2015) will be "Friday the 13th". I was curious to know when the next/previous occurrence of this will be and figured it would make for a great Instant Answer.
Source:
http://www.timeanddate.com/holidays/worl...

We already have an API Key which should be usable for development. I'm not sure how easy it is to get just this information from their API though -- it seems like you might have to get a list of all holidays from a given country which isn't ideal.

Note: A "holiday search" Instant Answer powered by Time&Date is coming soon, but I think this one is worthy of being a separate IA.

----

Alternatively, a Perl library could be used to calculate the dates, and this could be implemented as a Goodie.
• posted 3 years and 2 months ago • type: Spice (API calls)

anonymous
hi, i hope this is the algorithm you are searching for : http://chandoo.org/wp/2012/01/13/finding...
posted by <hidden> • 3 years and 2 months ago Link
javathunderman
Wouldn't it be easier to use a Goodie to do it, rather than Spice? I dunno, just an idea...
posted by javathunderman Community Leader3 years and 2 months ago Link