12 ways from Sunday

Anyone have data on the origin of the expression, "12 ways from Sunday", meaning LOTS of different ways?


I thought the phrase was "6 ways till Sunday"

I thought the phrase was "6 ways from Sunday"