Author: WPHC | Posted on: 8/17/2009 12:16:34 AM | Views : 307

Hey all...


I have the following code:




public static DateTime SystemCurrentDateTime { //Description: Gets the correct date time for the system //Created: 2009-08-15; get { DateTime dateTime = DateTime.Now.AddHours(GlobalResources.SystemDateTimeAdjustment); return dateTime; } }



The calling code is




GlobalResources.SystemCurrentDateTime.ToString(GlobalResources.SystemDateTimeFormat)





The code works fine when I am viewing the web page in English - the date is returned correctly..

When I view the same page in Arabic (Firefox 3)


This date is returned : 1430-08-26 17:07:59 (Which should be 2009-08-17 17 ...

Go to the complete details ...