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, four-month period, 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:  

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!