syntax:functions:addmonths
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
syntax:functions:addmonths [2019/12/12 07:43] – dmitry | syntax:functions:addmonths [2021/08/30 01:52] (current) – [Arguments] craigt | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== AddMonths(date_as_number, N) ===== | + | ====== AddMonths(date, add_months) ====== |
+ | Category: | ||
- | Adds //N// months to a date represented as number. //N// can be in range from -10000 to 10000. | + | \\ |
+ | =====Description===== | ||
+ | This function adds //add_months// number of months to //date//. | ||
- | ^ | + | \\ |
- | | addmonths(42097, 3) | | + | =====Arguments===== |
- | | addmonths(42097, | + | ^Argument^Type^Description^ |
+ | |date|Date or Number | ||
+ | |add_months | ||
- | Note: keep in mind that EasyMorph doesn' | + | **Return value type:** Number (date serial value). |
- | See also: | + | \\ |
+ | =====Remarks===== | ||
+ | The //date// argument can take any value or expression that evaluates to a date serial value, with or without a time portion. | ||
+ | * A date string: | ||
+ | * A date serial value: 43811 (the date serial for " | ||
+ | * A date value created using any of the Date/Time functions that returns a date serial value. | ||
- | * [[syntax: | + | \\ |
+ | =====Examples===== | ||
+ | |||
+ | addmonths(# | ||
+ | |||
+ | addmonths(43811, | ||
+ | |||
+ | addmonths(# | ||
+ | |||
+ | |||
+ | \\ | ||
+ | ===== See also ===== | ||
+ | * [[syntax: | ||
+ | | ||
+ | * [[https:// |
syntax/functions/addmonths.1576154634.txt.gz · Last modified: 2019/12/12 07:43 by dmitry