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
1540
Dinamic Format on a UltraCalendarCombo
posted

Hello,

 

I have an ultracalendarcombo and I need to set a dynamic Format for my date and hour. It will depends on the Culture defined on my machine. 

I set the format to {date}{time}. Is that right?

 

Thank you.

 

Best regards,

Maria

Parents
No Data
Reply
  • 71886
    Offline posted

    Hello Maria,

    I believe that for your scenario you could use the following code line in order to achieve what you desire:

         ultraCalendarCombo1.Format = System.Globalization.CultureInfo.CurrentCulture.DateTimeFormat.FullDateTimePattern;

    Please try this and let me know if it suits your needs.

Children