+1 888 340 6572

IncMonth

From MultiCharts
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Returns a numerical value corresponding to a Julian date that is after or before the specified Julian date by a specified number of calendar months.

Usage

IncMonth(JulianDate,M)

Where: JulianDate - a numerical expression specifying the Julian Date

M - a numerical expression specifying the number of calendar months from the specified Julian date; if the value of M is positive, a date after the specified date will be returned; if the value of M is negative, a date before the specified date will be returned

Example

IncMonth(39417,1) will return a value of 39448, corresponding to January 1st, 2008, one calendar 
month after the specified date of December 1st, 2007 

IncMonth(36252,-2) will return a value of 36193, corresponding to February 2nd, 1999, two calendar
months before the specified date of April 2nd, 1999