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 robforee2, Today, 01:05 PM
      1 response
      7 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by SpikeLGWG, Today, 12:35 PM
      1 response
      11 views
      0 likes
      Last Post NinjaTrader_Jim  
      Started by Kaalhus, Today, 12:47 PM
      2 responses
      27 views
      0 likes
      Last Post Kaalhus
      by Kaalhus
       
      Started by Johnny, Today, 11:55 AM
      3 responses
      21 views
      0 likes
      Last Post NinjaTrader_Spencer  
      Started by MGHORBEL, Today, 10:48 AM
      0 responses
      23 views
      0 likes
      Last Post MGHORBEL  
      Working...
      X