User Tools

Site Tools


syntax:functions:addmonths

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
syntax:functions:addmonths [2015/04/03 19:41] elenapsyntax:functions:addmonths [2015/04/03 20:48] elenap
Line 1: Line 1:
 ===== AddMonths(date_as_number, N) ===== ===== AddMonths(date_as_number, N) =====
  
-Adds //N// months to a date. In //expression// represent date as number. //N// can be in range from -10000 to 10000.+Adds //N// months to a date represented as number. //N// can be in range from -10000 to 10000.
  
 ^  Example  ^  Result  ^  Notes  ^ ^  Example  ^  Result  ^  Notes  ^
-| addmonths(42097, 3)  |  42188  |  Example run on April 3rd, 2015  |+| addmonths(42097, 3)  |  42188  |  42097 corrensponds to April 4th, 2015  | 
 +| addmonths(42097, 0-3)  |  42007  |  42097 corrensponds to April 4th, 2015  | 
 + 
 +Note: keep in mind that EasyMorph doesn't support unary minus in expressions - see Example 2 above.
syntax/functions/addmonths.txt · Last modified: 2021/08/30 01:52 by craigt

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki