The MONTHS() function returns the difference between two dates in months. The third parameter indicates the calculation mode: if the mode is 0, MONTHS() returns the maximal possible number of months between those days. If the mode is 1, it only returns the number of complete months in between.
De funksje MOANNEN () berekkent it ferskil tusken twa data yn moannen. De tredde parameter jout de berekkeningsmetoade oan: as de metoade 0 is, dan jout MOANNEN () it grutst mooglike oantal moannen werom tusken dizze dagen. As de metoade 1 is, dan jout de funksje allinnich it oantal hiele moannen tusken dizze dagen.