In an attempt to build a flash-based contest game that ties into PHP/MySQL for tracking behind the scenes, I aim to eventually end up with a set date range (ie., between YYYY-MM-DD and YYYY-MM-DD) and pick a random datetime (or two, or three) within the given range, and designate those as winning times. I'm not really sure the best way to go about this, any ideas?
I'm rather new with time + rand() and not sure the best way to go about this. Any advice or helpful snippets that seem to make sense for this application would be grand :D