Separating Dates & Times

2 posts by 2 authors in: Forums > CMS Builder
Last Post: June 21, 2010   (RSS)

By Perchpole - June 21, 2010

Hello, All -

I recently ran into an issue with the way CMSB handles the input of dates and times. My client would prefer a much simpler system but it seems I am unable to create it for him.

Currently you can set up CMSB to handle dates using a predefined set of drop-down menus. You also have the option of adding the time. However, what you can't do is add the time without first adding a date!

To solve my problem I would like a way of adding a time which is entirely separate from the date.

I'll save you the details of why this feature is important. Suffice it to say, the client in question is working with lots of time slots on the same day. For each slot he needs to input a start and a finish time. As things stand, whenever he adds a time he's also compelled to add the date. This seems needlessly repetitive - not to say confusing (for the client).

I have considered creating my own drop-down menus listing all the available start times (for example) as: 8:00, 8:15, 8:30, etc. The only trouble is I'm not entirely sure how to convert these strings/numbers into real PHP values for use in other lists/calculations.

Any help or suggestions would be most welcome.

:0)

Perch