Error message

Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in drupal_get_feeds() (line 394 of /home1/tylerfra/public_html/includes/common.inc).

Drupal Custom Time Field Select List with 15 Minute Intervals

Category: 

If you need a custom time field select list with 15 minute interval options in Drupal 7, try this out when adding a new field to your content type (this will work in Drupal 6 as well):

Field: List (text)

Widget: Select list

Allowed values list:

00:00|12:00 AM
00:15|12:15 AM
00:30|12:30 AM
00:45|12:45 AM
01:00|1:00 AM
01:15|1:15 AM
01:30|1:30 AM
01:45|1:45 AM
02:00|2:00 AM
02:15|2:15 AM
02:30|2:30 AM
02:45|2:45 AM
03:00|3:00 AM
03:15|3:15 AM
03:30|3:30 AM
03:45|3:45 AM
04:00|4:00 AM
04:15|4:15 AM
04:30|4:30 AM
04:45|4:45 AM
05:00|5:00 AM
05:15|5:15 AM
05:30|5:30 AM
05:45|5:45 AM
06:00|6:00 AM
06:15|6:15 AM
06:30|6:30 AM
06:45|6:45 AM
07:00|7:00 AM
07:15|7:15 AM
07:30|7:30 AM
07:45|7:45 AM
08:00|8:00 AM
08:15|8:15 AM
08:30|8:30 AM
08:45|8:45 AM
09:00|9:00 AM
09:15|9:15 AM
09:30|9:30 AM
09:45|9:45 AM
10:00|10:00 AM
10:15|10:15 AM
10:30|10:30 AM
10:45|10:45 AM
11:00|11:00 AM
11:15|11:15 AM
11:30|11:30 AM
11:45|11:45 AM
12:00|12:00 PM
12:15|12:15 PM
12:30|12:30 PM
12:45|12:45 PM
13:00|1:00 PM
13:15|1:15 PM
13:30|1:30 PM
13:45|1:45 PM
14:00|2:00 PM
14:15|2:15 PM
14:30|2:30 PM
14:45|2:45 PM
15:00|3:00 PM
15:15|3:15 PM
15:30|3:30 PM
15:45|3:45 PM
16:00|4:00 PM
16:15|4:15 PM
16:30|4:30 PM
16:45|4:45 PM
17:00|5:00 PM
17:15|5:15 PM
17:30|5:30 PM
17:45|5:45 PM
18:00|6:00 PM
18:15|6:15 PM
18:30|6:30 PM
18:45|6:45 PM
19:00|7:00 PM
19:15|7:15 PM
19:30|7:30 PM
19:45|7:45 PM
20:00|8:00 PM
20:15|8:15 PM
20:30|8:30 PM
20:45|8:45 PM
21:00|9:00 PM
21:15|9:15 PM
21:30|9:30 PM
21:45|9:45 PM
22:00|10:00 PM
22:15|10:15 PM
22:30|10:30 PM
22:45|10:45 PM
23:00|11:00 PM
23:15|11:15 PM
23:30|11:30 PM
23:45|11:45 PM

Comments

Excellent solution, it works perfect!