The YearDiff function returns the number of years between two Date values.
Syntax
|
The YearDiff function returns the number of years between two Date values. |
|
YearDiff(start, end) |
|
Arguments: |
|
|
start |
DateTime - The starting Date or DateTime expression. |
|
|
end |
DateTime - The ending Date or DateTime expression. |
Remarks
- Example: YearDiff("5/1/2000", "6/1/2001") returns 1.
Comments
0 comments
Article is closed for comments.