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
470
XamNumericInput control how to set time 24 format
posted

Hi 

I am using Xamnumeric control and mask{time}. But it is considering 12 hours format, I want it to make 24 hours,

Can any one please let me know the mask for time 24 hours format in xaml file 

Thanks in advance

Parents
No Data
Reply
  • 5600
    Verified Answer
    Offline posted

    Hi,

    You should use the xamMaskedInput not the xamNumericInput. And when you using the "time" mask, then the format will be the same as in your OS settings.

    If you want to use 24 format you can use this Mask="hh:mm", for 12 hours format use - Mask="hh:mm tt". These two masks are independent of your OS settings.

    Regards,

    Anastas

Children