I have some DDay iCal code that takes events from our SQL database and creates an iCal file so users can subscribe to the internet calendar in Outlook or Google Calendar. It's working fine except when a user in a different time zone syncs to their calendar it displays the time incorrectly. Our web server is in central time so a user in eastern time would see the time as 1 hour before the actual event time. Basically I want iCal to ignore time zones and just display the start and end time as it appears in my database. I have a feeling this is going to be impossible and we'll have to do the time conversion ourselves.
Dim iCal As iCalendar = New iCalendar()
Dim evt As [Event]
iCal.AddLocalTimeZone()
Dim dtStart As DateTime = dtr_SQL("StartDate").ToString()
Dim dtEnd As DateTime = dtr_SQL("EndDate").ToString()
Dim startDate As iCalDateTime = dtStart.ToUniversalTime()
Dim endDate As iCalDateTime = dtEnd.ToUniversalTime()
evt = iCal.Create(Of [Event])()
evt.Start = startDate
evt.Start.HasTime = True
evt.Start.IsUniversalTime = True
evt.End = endDate
evt.End.HasTime = True
evt.End.IsUniversalTime = True