Problems deleting a specific event in a series.

I’ve been following the documentation on how to delete certain occurrences in a series. But I can’t seem to get the solution to work on the mobile version of scheduler (using the recur plugin)

My test case:
I have a repeating event for the month of September, but I’ve deleted the events in the series for Sept 5,10,15,20,25,30
Yet the event is still showing for these days.

Below is the scheduler xml I’m feeding the scheduler. What am I doing wrong?

-----------------XML-----------------


<start_date></start_date>
<end_date></end_date>



<rec_type></rec_type>
<event_length></event_length>
<event_pid></event_pid>


<start_date></start_date>
<end_date></end_date>



<rec_type></rec_type>
<event_length></event_length>
<event_pid></event_pid>


<start_date></start_date>
<end_date></end_date>



<rec_type></rec_type>
<event_length></event_length>
<event_pid></event_pid>


<start_date></start_date>
<end_date></end_date>



<rec_type></rec_type>
<event_length></event_length>
<event_pid></event_pid>


<start_date></start_date>
<end_date></end_date>



<rec_type></rec_type>
<event_length></event_length>
<event_pid></event_pid>


<start_date></start_date>
<end_date></end_date>



<rec_type></rec_type>
<event_length></event_length>
<event_pid></event_pid>


<start_date></start_date>
<end_date></end_date>



<rec_type></rec_type>
<event_length></event_length>
<event_pid></event_pid>

You are using invalid values for event_length , for example for id="-456" the valid value will be

new Date(2012,8,5,8,0).valueOf()/1000

which is 1346821200

Which programming language are you using? Does it matter? Do timezones play a factor?

I’ve tried using JavaScript but I get 1346846400 instead of 1346821200.
jsfiddle.net/2vWau/

I’m using C#.NET to calculate the time stamp, and I’m assuming the time stamp is the total number of seconds of the occurrence since UNIX epoch.

Here is a rough snippet of my calculation code. Can you see what I’m doing wrong? (Aside from not dividing by 1000)

var startTime = new DateTime(2012, 9, 5, 8, 0, 0, 0, DateTimeKind.Utc);
var unixEpoc = new DateTime(1970, 1, 1, 0, 0, 0, 0, DateTimeKind.Utc);
var timestampOfWhenTheEventShouldHaveOccured = startTime.Subtract(unixEpoc);
var event_Length = timestampOfWhenTheEventShouldHaveOccured.TotalSeconds;
// event_Length comes out as 1346832000

Timestamp format is the same for all ( common ) languages - so it doesn’t matter.
As for timezone it can matter, but in scheduler 3.5 you can use

docs.dhtmlx.com/doku.php?id=dhtm … amp_in_utc

this option will force usage of GMT timestamps in recurring events, so they will work correctly for any timezone ( default ones may not work if event-exception was created in one timezone and was checked in different timezone )

I’ve tried using JavaScript but I get 1346846400 instead of 1346821200.
It has a 7 hours difference which is probably a time difference between our timezones.
If your calendar will be used in local timezone - it doesn’t matter at all. If you are creating global solution - check the above option.

Sorry, the above is for desktop scheduler - mobile scheduler has not support of GMT timestamp yet.

As for your code - be sure that you are using the same timezone on server as on client side.
To check it - run on page something like

Is it shows the same data as server side timestamp or differs ?

I worked it out.

Turns out, when I generated the event_length value:
I had to provided the UTC time stamp from Unix Epoc, ignoring the time zone offset.
I also had to take into account the one hour offset caused by Daylight Savings Time, if it applied.

Thanks again for your help.