Solved

Auto-gen email/appointment to Outlook Calendar

Posted on 2013-01-12
3
674 Views
Last Modified: 2013-03-04
My appointment scheduling application (Cold Fusion 9) generates an e-mail to the user with their appointment information.  Everything works fine, except, the outlook calendar times are off for the users who use my application on Central Time Zone (St. Louis).  My application / server (i believe) is EST.  Those users get the correct outlook calendar time of their appointment.  Not the St. Louis folks.  Where do I start looking to fix this problem?
0
Comment
Question by:newBieProgram
  • 2
3 Comments
 
LVL 32

Expert Comment

by:Robberbaron (robr)
ID: 38771120
are you using the ics format for sending the appointment or some other ?

seems like you will need to specify a timezone in the appointment, so that it gets correctly processed by the receiver, wherever they are.


either specify the time as UTC (ie GMT) by using a Z on the end,
DTSTART:19970714T170000Z

Open in new window


or by including the timezone on the file.
BEGIN:DAYLIGHT
TZOFFSETFROM:-0500
TZOFFSETTO:-0400
TZNAME:EDT
DTSTART:19700308T020000

Open in new window

http://stackoverflow.com/questions/9505299/ics-file-issues

my preference is the Zulu time, because it has less options to get wrong. And you controll the creation end, so can work out the equivalent time @ UTC easily i suspect
0
 

Author Comment

by:newBieProgram
ID: 38832412
Where in my ics-file do I place what you suggested?  Still not working.  The appointment times are off by an hour in the Outlook calendar.  For ex.  If my appointment is made for ME by someone in Central time, my appointment comes over with my local time (server).  If the person in Central time makes an appointment for himself in Central time, his time is also off...its one hour earlier.  

BEGIN:DAYLIGHT
TZOFFSETFROM:-0500
TZOFFSETTO:-0400
TZNAME:EDT
DTSTART:19700308T020000
0
 
LVL 32

Accepted Solution

by:
Robberbaron (robr) earned 500 total points
ID: 38834988
from the stackoverflow link...
a full ics has begin and end tags and defines the timezone id (TZID) used in the message.

BEGIN:VCALENDAR
VERSION:1.0

BEGIN:VTIMEZONE 
TZID:America/New_York 
LAST-MODIFIED:19870101T000000Z 
BEGIN:STANDARD 
DTSTART:19971026T020000 
RDATE:19971026T020000 
TZOFFSETFROM:-0500 
TZOFFSETTO:-0400
TZNAME:EST 
END:STANDARD 
BEGIN:DAYLIGHT 
DTSTART:19971026T020000 
RDATE:19970406T020000 
TZOFFSETFROM:-0500 
TZOFFSETTO:-0400 
TZNAME:EDT 
END:DAYLIGHT 
END:VTIMEZONE

BEGIN:VEVENT
DTSTART;TZID=America/New_York:20120328T073000
DTEND;TZID=America/New_York:20120328T093000
SUMMARY:Test EVENT
LOCATION:Test Location
DESCRIPTION:Test Description
PRIORITY:3
END:VEVENT
END:VCALENDAR

Open in new window


hence i think using zula time (NY -5) makes it easier for cross border stuff.

BEGIN:VCALENDAR
VERSION:1.0
BEGIN:VEVENT
DTSTART:20120328T023000Z
DTEND:20120328T043000Z
SUMMARY:Test EVENT
LOCATION:Test Location
DESCRIPTION:Test Description
PRIORITY:3
END:VEVENT
END:VCALENDAR

Open in new window

0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Resolve DNS query failed errors for Exchange
Are you unable to connect or configure Hotmail email account in Microsoft Outlook 2010, 2007? Or Outlook.com emails are not downloading to Outlook? Lets’ see the problem and resolve Outlook Connector error syncing folder hierarchy (0x8004102A).
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now