I would like to add a time field to a custom module where users can select an hour (between 0 and 23) and minute (either 0, 15, 30 or 45).
But there doesn't seem to be predefined data type that can do that. There's the type datatime which is not what I need because it also includes a date. That's why I though of combining two dropdowns (one for the hours and one for the minutes). But I don't know how to combine them to one data type.
Using the search function, I didn't find any helpful entries.
So I hope you can help me :-)


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks