I see that in recurring events that event_length has the actual length of the individual events in seconds. So 1800 seconds would be 30 minutes. I am looking in the DB and event_length is as I expect. So now I edit one item of a recurring event (description change only) and look in the db. Things are as I expect but the event_length is now 1278561600. I then go in and delete an individual event in a recurring event and look in the table. The deleted individual event has an event_length of 1278734400.
What do these numbers represent?
When you are editing some instance of recurring event ( not master-recurring event , but its instance ) - new record created in database for the edited event ( same for deleting ), this record behave as normal event - its length defined but start and end date. EventLength field used to link the updated event to original instance of recurring event 1278734400 - timestamp of the original date, in which instance was occur before modification.
new Date(1278734400*1000).toString()
“Sat Jul 10 2010 07:00:00 GMT+0300 (E. Europe Daylight Time)”
Please advise. In the ASPX when I run new Date(1278734400*1000).toString() I get “1/2/0001 11:31:13 AM”
Above line was for javascript
In .Net I think the next will work correctly
DateTime origin = new DateTime(1970, 1, 1, 0, 0, 0, 0);
origin.AddSeconds(1278734400);