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
645
How to configure statusbar pane time format directly?
posted

Hello all,

I use statusbar (Infragistics V 8.1) which contains a pane in style = [Time],

so far so well, but the default time format is the same as PC OS time format.

How could I configure the time format programmatically,

e.g. in 12 hr or 24 hr independed of my PC time format?

Many thanks in advance.

Parents
No Data
Reply
  • 469350
    Verified Answer
    Offline posted

    Hi,

    I believe you can use the DateTimeFormat property on the Panel. Check out Microsoft documentation on date time formats to see how to format it for 24-hour time.

    I could be wrong, but I think you use capital H's. Something like: "HH:mm"

Children
No Data