• 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 ArmKnuckle, Today, 01:59 AM
        1 response
        15 views
        0 likes
        Last Post NinjaTrader_PaulH  
        Started by seppyr, Today, 01:53 AM
        1 response
        17 views
        0 likes
        Last Post NinjaTrader_PaulH  
        Started by matthewbartlett, Today, 01:22 AM
        1 response
        9 views
        0 likes
        Last Post Emma1
        by Emma1
         
        Started by ct_fx, Today, 05:14 AM
        0 responses
        12 views
        0 likes
        Last Post ct_fx
        by ct_fx
         
        Started by Beauregard, Today, 04:36 AM
        0 responses
        12 views
        0 likes
        Last Post Beauregard  
        Working...
        X