Revision: 50922
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at September 9, 2011 02:32 by bitsculptor
Initial Code
<?php for ($i = 0; $i <= 1440; $i+=15) : $date = date("g:i A",mktime(0,$i,0,1,1,2000)); ?> <select> <option value="<?php echo $date; ?>"><?php echo $date; ?></option> </select> <?php endfor; ?>
Initial URL
Initial Description
Outputs a select box that has timestamps from 12AM-12PM in 15min increments.
Initial Title
Timestamp Selectbox 15 min intervals
Initial Tags
Initial Language
PHP