Random Riddle: Guess The Code

A thief breaks into a shop and threatens the clerk to open the safe. The clerk says “the code for the safe is different every day.” The thief then guesses the code.

What is the code and how did he know it?
 

Random Riddle: Guess The Code