• 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 vivekniwas, Today, 04:56 PM
        0 responses
        3 views
        0 likes
        Last Post vivekniwas  
        Started by dtl-saw, Today, 03:36 PM
        1 response
        10 views
        0 likes
        Last Post NinjaTrader_ChrisL  
        Started by williamzz, Today, 02:04 PM
        2 responses
        11 views
        0 likes
        Last Post williamzz  
        Started by jtrading82, Today, 01:55 PM
        3 responses
        27 views
        0 likes
        Last Post NinjaTrader_Tyler  
        Started by StevenNelson, Today, 01:00 PM
        4 responses
        19 views
        0 likes
        Last Post StevenNelson  
        Working...
        X