NeedForTrade Documentation

DateTime Structure

Represents date and time.

 

Basic members:

 

     // Properties
     int Day
     DayOfWeek DayOfWeek // e.g.: DayOfWeek.Monday
     int DayOfYear
     int Hour
     int Millisecond
     int Minute
     int Month
     int Second
     long Ticks
     int Year

DateTime structure is read-only. You can access DateTime properties by using dot operator. For example: day = Bars[0].Time.Day;


See also Microsoft .NET Framework DateTime Structure Documentation.