Instructions
Look for the words "In God We Trust." Although widely used on coins, this motto did not become ubiquitous on paper currency until after a law was passed in 1955. If your 20-dollar bill doesn't bear these words, then it's either from the first half of the 1950s or an earlier decade.
Inspect the vignette of the White House on the back of the note. In the 1950s, this was adjusted to reflect the remodeling of this famous building enacted under President Truman, in particular the addition of the Truman Balcony. The absence of the balcony dates your 20 dollar bill to before the 1950s. To find out what the balcony looks like, visit the White House Museum website.
Check to see whether the note bears the words "Payable to the Bearer Upon Demand." This formula harks from the time before the Treasury moved away from the gold standard, when any citizen could take a note to the U.S. Mint and redeem its value in gold coin. The phrase was dropped from paper currency in 1963 at the same time as the last remaining silver coinage was withdrawn. The presence of this phrase on your bill with date it to the early 1960s at the latest.