Conclusions. All of the examples cited above—which range in publication year from 1866 to 1955—use the phrase "that's for me to know and you to find out" (or a close variant) in a very modern way—as a snappy retort to someone who is being inappropriately nosy or who is simply being naturally curious but whose question has prompted a dismissive or teasing response from the speaker. More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.