//change the culture in order to read the DateTimeDon't forget to include the namespace:
DateTimeFormatInfo oDateTimeFormatInfo = (new CultureInfo("zh-tw")).DateTimeFormat;
Thread.CurrentThread.CurrentCulture = CultureInfo.CreateSpecificCulture("zh-tw");
using System.Globalization;
using System.Threading;
Reference
i tried your code but nothing happened do i make some mistake when using it ?
ReplyDeletehonestly i didn't understand what your code should do, can u explain me some ?
Thanks...
Hi Ahmet,
ReplyDeleteIf you want to read other culture's DateTime, you can take a look at this link: http://tinyurl.com/ybg3nou
Here is a good example: http://tinyurl.com/yap8r32
Let me know if you still have problems.