Function reference
Return the number of months one date occurs after another.

MonthsAfter ( ‘date1’, ‘date2’ )

Argument Description
date1 A date value represented as string that is the start of the interval being measured
date2 A date value represented as string that is the end of the interval

Data type: Long
Returns a long containing the number of months

Example
This expression returns 7
MonthsAfter( ’2013-04-21’ , ’2013-11-27’ )

Last modified: 23 May 2021

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment