Make a Sprite Appear at a Random Time

I have a student who is creating a game in the Game Lab and he was to make sprites appear at a random location at a random time. I can help him with random location but I am not sure I know how to do “random time” Any help out there? Thanks for any suggestions!