I'd agree with Dmitry that you aren't handling DST dates and hard coding
offsets is not a good way to go.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm
"masani paresh" wrote in message
...
Thanks Ken, I have done it in following way.
sTime = Format(Item.Start,"yyyy-mm-dd" & "T" & "hh:mm:ss" & "+" &
timeOffset)
eTime = Format(Item.End,"yyyy-mm-dd" & "T" & "hh:mm:ss" & "+" &
timeOffset)
I have hard coded time offsets for different time zone that is required. I
am getting local site and corresponding time zone offset and adding it to
current time to get the UTC.
Could you see any improvement that i can make here.
Thanks,
Paresh