Hi All,
hope someone out there can help.
I have written an app that sends calendar entries to a users mail file, the particular entry is an “All Day Event”. To make it show in the users calendar I have to add a date in the CalendarDateTime field…not a problem, give it the start date of the all day event and I’m laughing. It defaults the time to 00:00:00 which is where the problem starts.
When I change my timezone to Central time (-6 hours from GMT) the calendar entry moves from lets say the 16th of October to the 15th of October. I am assuming this is because the start date is now 16/10/2003 00:00:00 minus 6 hours i.e. 15/10/2003 18:00:00
Is there a way of adding this type of event to a calendar without it being affected by timezones ?? I have currently got around it by setting the CaledarDateTime to 12:00:00 so that the time zone change doesn’t affect it. But this is not a permanant solution
The fields I am currently adding to my calendar entry are :
CalendarDateTime = “16/10/2003 00:00:00” ReminderTime = "16/10/2003
StartTimeZone = doc.TimeZone(0) 'contains @GetCurrentTimeZone formula
StartTime = “04:00:00”
AppointmentType = “2”
EndDateTime = endDateTime.LSLocalTime
StartDate = startDateTime.DateOnly
StartDateTime = startDateTime.LSLocalTime
Many Thanks in advance,
Andy