Hi,
I have an asp based application for booking meeting rooms. There is functionality in there that uses the Outlook.Application object to send Outlook Invite Emails - Outlook.Application.CreateItem(1).
I set that start and end dates using the .Start and .End properties of the method.
This works fine when the user making the room booking has Office 2003, but if a user has Office 2007 the date format is incorrect (eg 12 March 2009 becomes 3 December 2009).
However, the Invite Body contains various details of the room booking - including the start and end dates. For examlple Request.Form("StartDate") and this displays correctly in the invite body (eg "Meeting Start: 12/03/2009")
The only difference that I can see in the code is that the object Start is determined using javascript as follows....
dtMeetingStart = document.resform.startdate.value + " " + document.resform.starttime.options(document.resform.starttime.selectedIndex).text
obj.start = dtMeetingStart
Any suggestions? (What I am after is a solution that will work for Office 2003 and Office 2007 users). Is this a bug with 2007?
Many Thanks
Gary