Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

data box time display is military format but ....

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    data box time display is military format but ....

    re: Strategy Analyzer

    the data box time display is military format but "Print(Time[0]);" format is AM & PM in the output box. Can one or the other be changed so that they are both in the same format?


    #2
    Originally posted by joemiller View Post
    re: Strategy Analyzer

    the data box time display is military format but "Print(Time[0]);" format is AM & PM in the output box. Can one or the other be changed so that they are both in the same format?

    Learn to use custom date and time format strings to convert DateTime or DateTimeOffset values into text representations, or to parse strings for dates & times.

    Comment


      #3
      it worked.... thanks

      thanks for the link Sledge,
      the following gave me the results I wanted.
      Print(" "+Time[0].ToString("HH mm ss"));
       
       
       

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by FrazMann, Today, 11:21 AM
      2 responses
      6 views
      0 likes
      Last Post NinjaTrader_ChristopherJ  
      Started by rjbtrade1, 11-30-2023, 04:38 PM
      2 responses
      80 views
      0 likes
      Last Post DavidHP
      by DavidHP
       
      Started by Spiderbird, Today, 12:15 PM
      1 response
      7 views
      0 likes
      Last Post NinjaTrader_ChristopherJ  
      Started by lorem, Yesterday, 09:18 AM
      5 responses
      18 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by cmtjoancolmenero, Yesterday, 03:58 PM
      12 responses
      42 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Working...
      X