syntax:functions:agemonths
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
syntax:functions:agemonths [2017/12/23 09:10] – created dmitry | syntax:functions:agemonths [2021/08/30 01:58] (current) – [Arguments] craigt | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== agemonths(number_date, number_date) ===== | + | ====== AgeMonths(date1, date2) ====== |
+ | Category: | ||
- | Calculates | + | \\ |
+ | =====Description===== | ||
+ | This function returns | ||
- | ^ | + | \\ |
- | | agemonths(# | + | =====Arguments===== |
+ | ^Argument^Type^Description^ | ||
+ | |date1|Date or Number | ||
+ | |date2|Date or Number (date serial)|An expression representing a date. The date to calculate the difference to.| | ||
- | See also | + | **Return value type:** Number (Integer). |
- | * [[syntax: | + | |
+ | \\ | ||
+ | =====Remarks===== | ||
+ | The result is a non-fractional integer, as an absolute value, so the dates can be entered in either order. | ||
+ | |||
+ | The //date1// and //date2// arguments can take any value or expression that evaluates to a date serial value. | ||
+ | * 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. | ||
+ | |||
+ | \\ | ||
+ | =====Examples===== | ||
+ | |||
+ | agemonths(# | ||
+ | |||
+ | agemonths(# | ||
+ | |||
+ | agemonths(# | ||
+ | |||
+ | \\ | ||
+ | =====See also===== | ||
+ | * [[syntax: |
syntax/functions/agemonths.1514038225.txt.gz · Last modified: 2017/12/23 09:10 by dmitry