• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

formatting print time statements?

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

    formatting print time statements?

    Where can I find documentation about formatting print time statements?
    [eg] ‘Time[0].ToString()’ results in a date and 12 hour am/pm time format
    and ‘Time[0].ToString("HH mm")’ results in military time format.
    I want to modify those statements a little but I don't know how to do it.

    #2
    Originally posted by joemiller View Post
    Where can I find documentation about formatting print time statements?
    [eg] ‘Time[0].ToString()’ results in a date and 12 hour am/pm time format
    and ‘Time[0].ToString("HH mm")’ results in military time format.
    I want to modify those statements a little but I don't know how to do it.
    This is not related to NinjaTrader.

    You need to research .NET documentation stuff.

    Comment


      #3
      Originally posted by joemiller View Post
      Where can I find documentation about formatting print time statements?
      [eg] ‘Time[0].ToString()’ results in a date and 12 hour am/pm time format
      and ‘Time[0].ToString("HH mm")’ results in military time format.
      I want to modify those statements a little but I don't know how to do it.
      Look here:

      http://msdn.microsoft.com/en-us/library/8kb3ddd4.aspx

      Comment


        #4
        thank you Sledge.
        Your first reply cleared my confusion and was as much as could reasonably be expected. you saved me more time by doing my work for me and zeroing in on a source.
        much appreciated.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by rcsingleton, Today, 09:47 PM
        0 responses
        2 views
        0 likes
        Last Post rcsingleton  
        Started by catinabag, Today, 07:33 PM
        4 responses
        11 views
        0 likes
        Last Post catinabag  
        Started by Goldy, Today, 08:22 PM
        0 responses
        3 views
        0 likes
        Last Post Goldy
        by Goldy
         
        Started by forrestang, Today, 07:44 PM
        0 responses
        6 views
        0 likes
        Last Post forrestang  
        Started by Johnny90, Today, 07:29 PM
        0 responses
        4 views
        0 likes
        Last Post Johnny90  
        Working...
        X