Usually if you bump your fingernails, they'll have white spots on them. They can stay months but always go away.
It could also be a fungus, lol. But it's probably not, bumping your hands (expecially fingernails) on something is really easy to do.
For an article that asks this exact question, go to this link :-]