calendar

Displaying Calendar in Hourly format inside a Table tag

I have a database holding events in the form of a start_time and an end_time which are timestamps. I am trying to make a calendar that has 24 rows, and 7 columns. A normal calendar would be easier for me to create because my SQL results would be in order of lowest to highest. I am not quite sure how I would run through my SQL table, ...

Account exception about Calendar widget of Android sdk 2.1

I'm running the Calendar widget of the Android SDK2.1 on my device, and get authentication exception. It sounds that something is wrong with the accountmanager. How could I fixed that problem. Thanks! Here is the log: root@jacky-desktop:~# I/ActivityManager( 753): Starting activity: Intent { act=android.intent.action.MAIN cat=[android...

PHP Hourly Calendar, Running through timestamps stored in database.

I have a MySQL table titled 'my_cal' with a column titled 'start_time' for particular events in the calendar. The way items are added to the database, there are no overlapping events. There also may not be an event for a particular day/time either, in this case we leave it blank or put a blank value. My problem lies in the fact that ...

PHP generating and naming html for calendar to mysql database

Hello everyone, I have a PHP page where a user can select a month and then an html label and selection box will generate for each day of the month: <?php $i=1; while($i <= $daysInMonth){?> <table align="center" style="width: 435px"> <tr> <td class="style1"><p><label id="Label1"><?php echo($month.' '.$i); ?></lab...

free calendar with timestamp

I am working on form and I am looking for a free calendar/date/timestamp app that i can include in my form. basically, in the input text, i want users to click on the calendar icon and pick a date and a time stamp. that value should populate in the input text. my next question is, in my mysql db, i am calling this field as "datetime", s...

Is there Zend or jQuery libraries that can do this basic calendar function for me?

I have a calendar application, and in that calendar application, there is a "mini view" of a calendar. That little widget only displays the days of the currently chosen month and when you click the number it opens a new page and sends GET data to that new page (to display MySQL info, etc.) The point is: this little mini-calendar doesn'...

Availability Calendar Ideas

I have an interesting situation here this time. This more of a conceptual question, less of a technical code question. I need to have an 'availability calendar' for a new web application. The calendar needs to allow users to easily choose dates that are unavailable at the cottage (and update them in the future). Any ideas for a calend...

using entitydatasource in my asp.net page to get value for calendar control, what if NULL value in db?

Hello, I have an asp.net application that is getting its data from sql server. I am using an entitydatasource that gets the data for a detailsview. I templetized the detailsview in the "edit" mode so that I can give the user a asp.net calendar control to select a date. The problem is that when the user clicks on the "edit" button at ...

How to identify an EKAlarm in an EKEvent.

I'm developing an app that will require setting and removing alarms accordingly. I'm wondering if I set an alarm for an EKEvent, how can I identify it when I want to remove it? The only accessible properties of the EKAlarm are absoluteDate and relativeOffset. I feel like it would cause problems if the alarm I set has the same relativeOf...

want to use overflow for the contents in day of asp.net calendar control.

Hi all, I want to use overflow for the contents in day of asp.net calendar control. I am trying e.Cell.Style["height"] = "80px"; e.Cell.Style["overflow"] = "auto"; in a dayrender event of asp.net calendar control. ...

Make Webcontrols.Calendar's SelectionChanged Event Fire when clicked on currently SelectedDate

Hi I have come with following solution but I'm not sure if it's the best one. What I specially dislike is the way I have to apply the style in the DayRender event, any comments? To overcome that problem what I did was to store the selected date in the viewstate and then reset the selected date. To preserve the marker on the selected da...

Add 1 Week to a Date, which way is preferred?

I am reviewing some code at work and came across an inconsistency in how the code handles adding 1 week to the current time and was wondering if there was any reason why one should really be preferred over the other: The first was a utility method: public static Date addDaysToDate(final Date date, int noOfDays) { Date newDate = new...

How to connect and synchronize Lotus Notes calendar with Windoes CE custom application

We are developing custom appication on Win CE and we need to synchronize data on device with calendar of selected user. thanks for help ...

How to create a custom calendar in Blackberry?

I have a Blackberry Curve 8310 running OS v4.5.0.182 that I am writing an app for, using the 4.5.0 JDE API in Eclipse against JRE v6. I have Facebook installed and it was able to create its own calendar (I have 3 calendars total - the default calendar, a calendar for my Blackberry email address, and a calendar for Facebook). Accordin...

Gridview with Ajax Toolkit CalendarExtender not displaying in Edit Template

I have the folling Gridview column <asp:TemplateField HeaderText="Installed Date" SortExpression="install_date"> <EditItemTemplate> <asp:TextBox ID="gvtxtInstalledDate" runat="server" Text='<%# Bind("install_date") %>'></asp:TextBox> <asp:CalendarExtender ID="gvtxtInstalledDate_CalendarExtender" runat="s...

Modeling resource availability over time with exceptions in Rails

I'm struggling with how to model a resource and its availability using the tools, gems or plugins available to us in Rails. Basically each resource will have a typical availability of 0..24 hours for each day (0,1,2,3,4,5,6) of the week. BUT then there will be exceptions that need to be considered for example a holiday or special event ...

jQuery DatePick Populating Input - Multiple Clicks Issue

So, the latest dilemma I am facing: I am using jQuery DatePick (not DatePicker) to select dates and populate an input field with these dates. The problem is that the input field will get filled every time I click a date. Therefore, if I click the 23rd, then click it again to DEselect it, it automatically gets added to the input (and th...

Failing to import generated ics file to google calendar and outlook

Hi! I'm trying to generate ics-files, see sample here: http://deap.nu/myprogram.ics It validates alright here: http://severinghaus.org/projects/icv/ but when trying to import it into a google calendar I get the message "Failed to import events: Unable to process your ical/CSV file." which isn't very informative. I've tried to slim the...

Templatetag calendar raises error

I'm tyring to use this snippet as my event calendar. Unfortunately it constantly raises new errors. Currently I get: TemplateSyntaxError at /event/while-rendering-nothing-repeat/ Caught an exception while rendering: 'NoneType' object has no attribute 'date' I'm pretty sure it comes from the line : if day >= event.date.date() and day...

millisecond timing in java

I time various transactions in my Java application. At the start of the transaction, I get a start time by instantiating a Calendar and then getting the hour, minute, second, and millisecond. I complete the transaction, instantiate a new Calendar and get a new hour, minute, second, and millisecond. My reasoning is that the differ...