Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Have Code Snippet for date time?

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

  • Ralph
    replied
    Do I understand correctly, you want to implement a time shift?
    Something like DateTime.Now.AddHours(1).ToString() ?

    Leave a comment:


  • mgbloomfield
    started a topic Have Code Snippet for date time?

    Have Code Snippet for date time?

    Does anyone have a code snippet (C#?) that will correctly give you NinjaTrader's date time for a given C# date time?

    For example...

    Datetime.Now.ToString("yyyyMMdd hhmmss") does not give us the correct date time for NinjaTrader to import minute data.

    If the date and time is, 2/5/2009 12:45:00 PM, then it should map to 20090205 134500

Latest Posts

Collapse

Topics Statistics Last Post
Started by wildleanketosale, Today, 03:49 AM
0 responses
1 view
0 likes
Last Post wildleanketosale  
Started by wildleanketosale, Today, 03:48 AM
0 responses
3 views
0 likes
Last Post wildleanketosale  
Started by hiltonvarai, Today, 03:10 AM
0 responses
1 view
0 likes
Last Post hiltonvarai  
Started by afyuwi, Today, 02:33 AM
0 responses
2 views
0 likes
Last Post afyuwi
by afyuwi
 
Started by wushutrades, Today, 01:41 AM
0 responses
5 views
0 likes
Last Post wushutrades  
Working...
X