Random Time

In PHP, how do I lop off the hours, minutes, and seconds of a time variable and replace it with a random hour, minute, and second?

Thanks,

Andrew