calendar

asp.net toolkit calendar

Hi All, i'm using this control for date picker. i want that when user click on button the calender will pop up next to the button and when the user pick date the date will save in hidden field or somthing like that. the probelm is that the control need target control and he can't get hidden field i don't want to show the date ...

how can i make any numbers above the month's total days appear as new month day numbers?

I have a php calendar at http://idea-palette.com/aleventcal/calendar.php. I want the days that are not part of the current month to show up grayed out(which it does now), and I want it to appear as those are the days of the previous and next month. As it is now, the days that appear before the first day of the month appear as negative n...

Convert Java's java.util.calendar to PHP code

I'm looking to convert this line of code to PHP's mktime(): Calendar timeStartPoint = Calendar.getInstance(); timeStartPoint.set(11, 0); timeStartPoint.set(12, 0); timeStartPoint.set(13, 0); timeStartPoint.set(14, 0); timeStartPoint.set(5, monthStartPoint ? 1 : 5); timeStartPoint.set(2, 0); timeStartPoint.set(1, 2004); I imagine 1 is...

Java Calendar.set(Calendar.DAY_OF_WEEK, Calendar.SUNDAY), will it roll backwards, forwards or unknown?

Suppose the following code is executed on the 22nd of August 2009 (a Saturday) Calendar c = Calendar.getInstance(); c.set(Calendar.DAY_OF_WEEK, Calendar.SUNDAY); c.get(Calendar.DAY_OF_MONTH) will return 23. I'm interested in the conditions is would return 14 (last Sunday, rather than the next Sunday). Are there any rules assoc...

How to change Outlook Calendar Color in C#?

Hi, I'm writing some C# code to view/add/edit AppointmentItems in Microsoft Outlook 2007. I'm accessing a secondary calendar (MAPIFolder) and I would like to programmatically change the color of the calendar. Is that possible? Thanks in advance ... ...

Date fields in MySQL, finding all rows that don't overlap and returning only the difference

So this was one of my very first questions here, but I have a slight variation: So I have two people whose schedules are in a database. The schedules simply record the start time, end time, and description of the various events/appointments for both users. PersonA wants to trade appointments with PersonB. I want a MySQL query that will...

Python dateutil.rrule is incredibly slow

I'm using the python dateutil module for a calendaring application which supports repeating events. I really like the ability to parse ical rrules using the rrulestr() function. Also, using rrule.between() to get dates within a given interval is very fast. However, as soon as I try doing any other operations (ie: list slices, before()...

Is there an iPhone URL shortcut for calendar?

I can launch Google Maps, Mail, Safari and others... but is there the same functionality for Calendar?? EDIT: I only want to add an event into the calendar. Thanks guys! Nick. ...

Rails calendar_date_select_tag not working in javascript with :popup => :force option

I am trying to add a calendar date select when a user presses a button. The following code works in my partial.html.erb file: <%= calendar_date_select_tag "due_date[#{i}]",nil,:popup=>:force,:year_range => 0.years.ago..5.years.from_now,:style=>'width:120px;'%> But when I try to add the same code in my javascript as: var cell3 = new_r...

Calendar + Events in Drupal 5

"Events" module introduces Event content type, which has such two fields as event_start and event_end. While "Events" module has own calendar, I am need a few different calendars - so I chose Calendar module - which is based on Views. And here goes the problem: I create a new View, select View Type = Calendar, in Fields section listbox ...

Does the formatting of a date depend on both the user's locale and calendar system?

I feel this question is very general for all programmers on all languages. This is somewhat blurry. First, there are locales, which encapsulate cultural information and other stuff. I believe these locale objects also encapsulate information about date and time formatting, i.e. how to display a date, in Unicode Standard. Like so, for exa...

Getting the Time component of a Java Date or Calendar

Is there a simple or elegant way to grab only the time of day (hours/minutes/seconds/milliseconds) part of a Java Date (or Calendar, it really doesn't matter to me)? I'm looking for a nice way to separately consider the date (year/month/day) and the time-of-day parts, but as far as I can tell, I'm stuck with accessing each field separat...

python DST and GMT management into a scheduler

I'm planning to write a sheduler app in python and I wouldn't be in trouble with DST and GMT handling. As example see also PHP related question 563053. Does anyone worked already on something similar? Does anyone already experienced with PyTZ - Python Time Zone Library? ...

How can I create a function that can figure out the previous month's last day dates?

I have a PHP calendar that lists all of the days of the month in a table. Before the first day of the month I have numbers from the prior month and after the last day of the month are the numbers of the days for the upcoming month. Here's a photo of the Calendar as it currently looks. As you can see the bottom gray numbers are working ...

Need a list of week days with their number on iphone os

I'm working on a project that needs to have a list of weekdays. I could get their locale names using the NSDateFormatter without a problem, but I was hoping to have an integer weekday also to save on the database and do some work. Where can i get that number? Thanks, Leonardo ...

Need WebCalendar like Functionality with Rails or Ruby

I need an end-to-end Calendar, Schedule Management Solution that integrates with my Rails Application. I need it to be able to handle events, meetings, reminders, exports and imports etc. Something Like WebCalendar is for Php. I know there is a Google Calendar API available for Ruby but I am not sure if that's suitable for internal ...

ASP.NET Day Render Issue

Hi, Can you have a look at the code below and tell me how I can fix this. Each time the day is rendered in the calendar, it calls a webservice (service.EventGetList("ALL") ). Its causing the page to very slow. How can I call the webservice only once, and still achieve the same results? Protected Sub calendar1_DayRender(ByVal sender As ...

Getting an OOP PHP calendar app to update two tables at once.

I'm building a PHP calendar app for a photography group. They need to be able to assign multiple dates/times to a single event. As of now, I have an Events table and a Slots table (for time slots). Events only has id, title, and description, while Slots has id, start time, end time, and event_id as a foreign key. I've created an Event ...

Jquery tabs & calendar not binding properly

I'm implementing a page jquery tab toggle that loads content from hidden divs on the page. on one of the hidden pages i have a calendar popup (part of the jQuery.UI api. this works find on it's own page but when i add it to a hidden block and then load that block into the visible window i loose the ability for the calendar to pop up co...

Java Date vs Calendar

Could someone please advise the current "best practice" around Date and Calendar types. When writing new code, is it best to always favour Calendar over Date, or are there circumstances where Date is the more appropriate datatype? ...