Ah, I think I know what the difference is now. Thank you, Marius Hancu.
So, 'The books were sold out yesterday' has the same meaning as 'The books are sold out now'. Am I right?
Also, I wonder if I could say 'The books are sold out today'.
Thank you again.
Best wishes,
PBF