Hello,
I need to set the time display style of the UltraDayView control to a 24 hour time format; however I can not find where I would set this.
Thanks
Hello Alkali,
By default the time format in our UltraDayView control depend of your TimeFormat settings of your OS. Please take a look at the attached video file for more details. Also please take a look at this forum thread for additional information: http://es.infragistics.com/community/forums/p/82941/414386.aspx
If you have any questions, feel free to write me
Is there any way to override the OS settings and force a pre-defined time format?
Thanks,
Yes, it is possible. You could override only in this form your currentCulture settings. For example:
Option 1: to override only the time settings:
CultureInfo culture = (CultureInfo)CultureInfo.CurrentCulture.Clone();
culture.DateTimeFormat.FullDateTimePattern ="HH:mm:ss";
Thread.CurrentThread.CurrentCulture = culture;
Option 2: to override whole culture settings:
CultureInfo ci = new CultureInfo("en-GB", true);
Thread.CurrentThread.CurrentCulture = ci;
Let me know if you have any questions.
Hi
If you need any additional assistance don’t hesitate to ask.
Regards