inmonthtodate - script and chart function
Returns True if date lies inside the part of month containing basedate up until and including the last millisecond of basedate.
Syntax:
InMonthToDate (timestamp, base_date, period_no)
Return data type: Boolean
Arguments:
Argument | Description |
---|---|
timestamp | The date that you want to compare with base_date. |
base_date | Date that is used to evaluate the month. |
period_no |
The month can be offset by period_no. period_no is an integer, where the value 0 indicates the month which contains base_date. Negative values in period_no indicate preceding months and positive values indicate succeeding months. |
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!