Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Cbi.Globals.MinDate
Collapse
X
-
Hello Brillo, and thank you for your question.
Cbi.Globals.MinDate is a C# DateTime object which is used as an earliest possible date. Generally, the common convention across the world is to use a time called "the epoch" (January 1st, 1970 AD) for this purpose. In Unix systems, for instance, this is time 0, and time 86400 would be 1 day after the epoch since there are 86400 seconds in a day.
This time can be represented in C# as follows :
Code:[FONT=Courier New]new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc)[/FONT]
Code:[FONT=Courier New]new DateTime(0, 1, 1, 0, 0, 0, DateTimeKind.Utc)[/FONT]
Last edited by NinjaTrader_JessicaP; 11-10-2016, 12:24 PM.Jessica P.NinjaTrader Customer Service
-
Originally posted by Brillo View Post
NinjaTrader.Core.Globals.MinDate
Please note that this is an undocumented class any members and their return values are subject to change without notice.
You may find it safer to code your own static values in your own utility class.MatthewNinjaTrader Product Management
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Tim-c, Today, 03:54 AM
|
0 responses
3 views
0 likes
|
Last Post
by Tim-c
Today, 03:54 AM
|
||
Started by FrancisMorro, Today, 03:24 AM
|
0 responses
2 views
0 likes
|
Last Post
by FrancisMorro
Today, 03:24 AM
|
||
Net Change
by Segwin
Started by Segwin, 05-07-2018, 02:15 PM
|
10 responses
1,771 views
0 likes
|
Last Post
by Leafcutter
Today, 03:01 AM
|
||
Change colour of Stop market and limit orders to red and green via indicator script
by Rapine Heihei
Started by Rapine Heihei, 04-23-2024, 07:51 PM
|
2 responses
31 views
0 likes
|
Last Post
by Max238
Today, 02:25 AM
|
||
Started by Shansen, 08-30-2019, 10:18 PM
|
24 responses
945 views
0 likes
|
Last Post
by spwizard
Today, 01:29 AM
|
Comment