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 kenbun, Today, 12:21 PM
      0 responses
      6 views
      0 likes
      Last Post kenbun
      by kenbun
       
      Started by WNorton, Today, 11:23 AM
      1 response
      13 views
      0 likes
      Last Post NinjaTrader_Spencer  
      Started by stafe, Today, 10:43 AM
      0 responses
      12 views
      0 likes
      Last Post stafe
      by stafe
       
      Started by UltraNIX, Today, 09:13 AM
      3 responses
      18 views
      0 likes
      Last Post UltraNIX  
      Started by Tuxstuff215, Today, 06:32 AM
      1 response
      17 views
      0 likes
      Last Post NinjaTrader_ChrisL  
      Working...
      X