I need to get an array of time slots in a day, i.e. 24 hours. Something like:
array (
00:00=>00:00,
00:05=>00:05,
00:10=>00:10,
.................
21:05=>21:05,
.....
23:55=>23:55,
24:00=>24:00
)
I want to get this as a function return value with 5 minute intervals. Sorry for my bad English.
No need for a
datefunction:BTW: There’s no such thing as
24:00hours.