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 lightsun47, Today, 03:51 PM
      0 responses
      4 views
      0 likes
      Last Post lightsun47  
      Started by 00nevest, Today, 02:27 PM
      1 response
      8 views
      0 likes
      Last Post 00nevest  
      Started by futtrader, 04-21-2024, 01:50 AM
      4 responses
      44 views
      0 likes
      Last Post futtrader  
      Started by Option Whisperer, Today, 09:55 AM
      1 response
      13 views
      0 likes
      Last Post bltdavid  
      Started by port119, Today, 02:43 PM
      0 responses
      8 views
      0 likes
      Last Post port119
      by port119
       
      Working...
      X