in reply to time() question
I'd look at either Date::Manip, Date::Parse , or Date::Calc.
0 1 2 3 4 5 6 7
Results (596 votes), past polls