• 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

New DateTime Object

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

    New DateTime Object

    How to make new DateTime object using the date and hour of the bar time of the entry without the minutes?

    #2
    Originally posted by Kathir View Post
    How to make new DateTime object using the date and hour of the bar time of the entry without the minutes?
    Can you not simply set the minutes component to zero?

    Comment


      #3
      Hello Kathir,

      This would fall under general C# but I'm including a general google search that has a few solutions.
      https://www.google.com/search?q=date...hrome&ie=UTF-8
      Chelsea B.NinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by GTBrooks, Today, 02:44 PM
      0 responses
      4 views
      0 likes
      Last Post GTBrooks  
      Started by GLFX005, Today, 12:22 PM
      4 responses
      41 views
      0 likes
      Last Post NinjaTrader_Kate  
      Started by AspenHiker, Today, 08:37 AM
      1 response
      12 views
      0 likes
      Last Post NinjaTrader_Kate  
      Started by MartinT, Yesterday, 01:12 PM
      3 responses
      16 views
      0 likes
      Last Post MartinT
      by MartinT
       
      Started by caveat_lector, Today, 11:58 AM
      1 response
      7 views
      0 likes
      Last Post NinjaTrader_Heath  
      Working...
      X