Navigation: Function Reference > Stream Functions > TEStream.getMonth()

TEStream.getMonth()

Top  Previous  Next

TEStream.getMonth( offset: Integer ) : Integer;

 

Returns the the month of the bar at offset as a integer value.

 

Parameters

 

offset

integer value (0 or negative offset into the stream)

 

myStream := Symbol.close;

myMonth := myStream.getMonth(-5);

debugPrint( format('Month of Year: %d', [myMonth]) );