Another little hand snipped.
This will give you a dropdown list of times, in 15 min incriments. ie. 12:15pm etc....
Create a Custom field:
Enter the following into your PHP Code Filed.
Code:
$start = strtotime('1:00am');
$end = strtotime('11:59pm');
$answer = '<select name="'.$formbit[id].'">';
$answer .= '<option></option>';
$thisanswer = $q_{$formbit[id]};
for ($i = $start; $i <= $end; $i += 900)
{
$answer .= '<option value="'.date('g:i a', $i).'">'.date('g:i a', $i).'';
}
$answer .'</select>';
Enjoy.
The next code I will be working on is a java based countdown timer for the frontpage of our site which will let people know how much time is left before the time is reached, compared with the time set in the VB CP.
However if anyone has any ideas on this then please do share, saves re-inventing the wheel.
Cheers