calendar

leap year calculation

In order to find leap years, why must the year be indivisible by 100 and divisible by 400? I understand why it must be divisible by 4. Please explain the algorithm. ...

Best free library or database to determine if a date is a US or international holiday?

In hopes of improving the relevance of year to year comparisons I would like to correct for the fact that the data last year fell on Easter, Labor Day, or whatever. What is the easiest way to programatically determine this information? Are any solutions known to account for international holidays? I could scrape a site like this one b...

detecting conflicts in recurring events

Hello all I'm writing a calendar application that needs to check for conflicts between recurring entries. Each Entry object has a recurrences() method which returns an array of ranges - each range contains the start and end times of each future occurrence. I need to check for conflicts between new and existing entries. I'm doing this b...

How can you save time by using the built in Date class?

The intention of this question is to gather solutions to date / time calculation using the built in Date class instead of writing long complicated functions. I’ll write some answers myself, and accept an answer if anyone comes up with something very clever. But this is mostly meant as a collection of solutions, since I often see overly ...

Load multiple event feeds with one GData calendar query.

So, my problem is as such... I'm building a simple calendar module for my company's intranet portal. We use Google (Apps for your Domain) Calendar and I'd like to give the employees the ability to see all the feeds they've subscribed to in one calendar--just like on the real Google Calendar! The reason I'm not just using the the gadge...

vCalendar - show as (Free/Busy/Tentative/Out of Office)

I sent a vCalendar message to Outlook which results in a new Event in Outlook Calendar. How to set "Show As" field? (Free/Busy/Tentative/Out of Office) ...

Calendar using Javascript/ PHP/ mySQL

for a current webapp i need a "outlook-like" calendar... Here are some requirements for the calendar: week-view for the appointments different appointment types direct display of the length and time of the date (like in googleCalendar) multiple appointments for the same time only using javascript, php and any DB We need the calendar ...

Outlook style events calendar for project based on MVC framework

I need large Calendar (not jQuery datepicker) with possibility to schedule events and show them on calendar. Calendar must support month/week/day views. It is very desirable for Calendar not to reload whole page when view changes (AJAX refresh). It must be easily customizable (CSS themes) and localizable. It should support drag & drop (f...

C calendar structure

Hi, could someone take a quick look at this C code and see why I get the compiler error? It is a function for entering details into a calendar structure, and should create one node, i.e. one 'event' on the calendar. struct event enter_key(void) { int day,month,year,starttime,endtime,length; char* descp; struct event*...

SharePoint 2007 Calendar - Remove Time

Does anyone know how to remove the time from a SharePoint 2007 Calendar month view? I could do this using some jQuery but would like to know if it is possible via configuration? Cheers ...

end date greater than start date - jquery validation

how do i check/validate in jquery whether end date [textbox] is greater than start date [textbox]? ...

How can you access a secondary calendar with cfexchangeconnection?

I have an exchange account with multiple calendars defined. Is it possible to query a secondary calendar with cfexchangeconnection? Here's the code that I use to get the primary calendar, but I don't see any options in CF8 to talk to the secondary calendar "AltCal" in my profile. <cfexchangeConnection action="open" username="#theuserna...

ASP.NET - Calendar control - Strike off dates with a custom strike

Hi, I want to strike off all the dates before today in a calendar control with an overlapping, red color x in ASP.NET. I can strikethru using the normal font strikethrough using the DayRender event. I can add an image but that sits adjacent to the date. I want the x (image) to overlap the date Is this possible? If so, please help me ho...

Javascript Calendar - Jquery already used on the site.

A client uses yahoo calendars for his business. He is asking me to create a calendar to show the event updates he makes on Yahoo. I am using Jquery on the site already and would prefer to use it for this as well if possible. I see there is datepicker and such, but this needs to just display the Yahoo or Google (he said he would be ope...

Calendar control for cocoa touch

I'm want to create a CRM app for me just for fun and to learn more about Cocoa, because CRM application evolve based on a Calendar, I wonder where can I get that cool Calendar control that iCal has in the iPhone. I can't see it in my Library and I'm using SDK 3.0 beta 5. And by the way, where can I get a free/paid controls collection l...

approach to build a simple Calendar in Java Swing

I need a simple way to implement a Calendar (similar to google calendar) in java. The calendar must display Monday - Sunday at the top and each hour as a row. Monday | Tuesday | Wednesday 08:00 09:00 10:00 11:00 How would one create a calendar in Swing like that? I'm using Netbeans IDE. Each column should be able to hold some te...

Create a html-js UI GCalendar alike in java

Hello guys, I'm trying to replicate a UI like a gcalendar (only the layout not any of its functions) how to build a loop with a calendar to build a cute layout like that? with saturdays marked and holidays too. Thx ...

What's the easiest way to build an appointment booking website?

My wife is starting a new business and wants me to create a website for her that will allow clients to book appointments. I could obviously go ahead and start building something from scratch, but given that this is a fairly standard problem, I would prefer to reuse an existing solution (preferably in Java, but there is some flexibility ...

Converting Time/DataTime/Data into java.util.Calendar?

Is it possible in easy way to convert JRuby Time/DataTime/Data into java.util.Calendar including the timezone? On #jruby I was given such code cal.set_time_in_millis(time.to_i) but I lost information about timezone in betwean. So the more specific question is how to convert the timezone but I prefered to ask more broad questin in case t...

WebDAV vs. SDK for accessing the Exchange 2003 calendar

I'm trying to figure out how to access the calendar of Exchange 2003 from a remotely hosted ASP.NET/C# page (I only need to read and display calendar appointments/meetings etc.). As I understand it, I'm mainly down to two options - using WebDAV or the Exchange SDK. I have found some good examples of how to use WebDAV, although I've not ...