Skip to main content

monthsend - script and chart function

This function returns a value corresponding to a timestamp of the last millisecond of the month, bi-month, quarter, tertial, or half-year containing a base date. It is also possible to find the timestamp for a previous or following time period.

Syntax:  

MonthsEnd(n_months, date[, period_no [, first_month_of_year]])

Return data type: dual

Arguments: