Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Date format

Status
Not open for further replies.

keenanbr

Programmer
Oct 3, 2001
469
IE
We use OWA fror calendar appointments. Some customization has been done. When we setup a meeting we can then reschedule that meeting to another date/time. When we do this we display a message 'Meeting for XXX rescheduled to DateRescheduledTo'. We had to to a bit of coding around this message because the DateRescheduledTo was displaying in mm/dd/yyyy format and we wanted it to display in dd/mm/yyyy format. However the date has now reverted back to mm/dd/yyyy format. If we pass an invalid date for the mm/dd/yyyy format (eg. 29 Oct 2008 which would be mm = 29) we get a crazy date (as you would expect). The bottom line is that the function was receiving the date string as mm/dd/yyyy and is now receiving it as dd/mm/yyyy without any code changes. I presume some setting has changed. has anyone any ideas.

Regards,
 
I have solved this problem by putting

<%
'Set the server locale
Session.LCID = 1033
%>

into my asp file. But I don't see any change to the regional settings on the exchange server so I am at a loss to the cause.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top