Could someone please tell me if there's a way that I could insert the time of day into a calendar that I created using CF. I can post events and I know how long they last, but I have not been able to post the time of the events (as they vary). For example Mon, Tue, Wed, Fri appointments are scheduled beginning at 7:30 a.m. - the appointments can vary in length from 1 hour to ? sometimes the whole day can be scheduled if needed. So the users provide the length of time needed - so I know the date and the length of time; but let's say the 1st appointment starts at 7:30 and ends at 8:30 (because the user said the apt. was 1 hour)...then the rest of the day is available for others to schedule. The next user adds an apt that is 2 hours in length. So that means that 8:30 - 10:30 is now taken. I haven't been able to figure out how to get CF to calculate the difference between the times of 7:30, 8:30, 10:30, etc.

The other issue is that on Thursdays, apts begin at 9 a.m.

I haven't done anything with time values previously so this is all new to me. Just googling around didn't provide any information that I felt was helpful. Any ideas/suggestions?


7 Years
Discussion Span
Last Post by utdream

There's an open-source calendar project over at http://calendar.viviotech.net/ that sounds a little similar to what you're trying to do.

I am not suggesting copying code, but you could review how they do it and perhaps get some ideas on how you could implement the same idea yourself.

There are also other open-source projects over at

... which may also give you some ideas.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.