Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
975
XamDateTimeEditor edit format
posted

Hi,

I'm required to show the following format througt the application "yyyy-MMM-dd". I define the thread as follow

var cultureInfo = System.Globalization.CultureInfo.CreateSpecificCulture("");
var dateTimeFormatInfo = new DateTimeFormatInfo();
dateTimeFormatInfo.ShortDatePattern = "yyyy-MMM-dd";
dateTimeFormatInfo.DateSeparator = "-";
cultureInfo.DateTimeFormat = dateTimeFormatInfo;
            
System.Threading.Thread.CurrentThread.CurrentCulture = cultureInfo;
    

 

Everything works fine however the when I go to edit mode the format goes to "yyyy-MM-dd" and I have no idea where that come from.

Regards,

Dominik

Parents
No Data
Reply Children