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
650
UltraStatusBar DateTime format
posted

I need some help.  I need to know how (or if it's possible) to set my date time format to a Julian day style format meaning yyyy:DDD:HH:MM (where the DDD is the day of year number, for example Feb 1 would be 032)

 Any help would be greatly appreciated!

 Greg

Parents
  • 469350
    Offline posted

    Hi Greg,

    If it's possible to do this, it would be via the DateTimeFormat property of the panel. This panel essentially just takes the Date and calls the ToString method on it and passes in the format. So what you will need to do is check out the Microsoft Documentation on DateTime.ToString and see what the allowable formats are. 

    If there is no format that does what you want, then another option would be to use a DrawFilter and draw the text of the panel yourself. 

     

Reply Children
No Data