syntax:functions:year
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
syntax:functions:year [2015/04/03 20:59] – elenap | syntax:functions:year [2021/08/30 02:44] (current) – craigt | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Year(date_as_number) ===== | + | ====== Year(date) ====== |
+ | Category: | ||
- | Extracts | + | \\ |
+ | =====Description===== | ||
+ | This function returns | ||
- | ^ | + | \\ |
- | | year(42097) | + | =====Arguments===== |
- | | year( makedate(2014,1,1) ) | | + | ^Argument^Type^Description^ |
+ | |date|Date or Number (date serial)|An expression representing a date. The date value to derive the year number from.| | ||
+ | |||
+ | **Return value type:** Number | ||
+ | |||
+ | \\ | ||
+ | =====Remarks===== | ||
+ | The //date// argument 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===== | ||
+ | |||
+ | | ||
+ | |||
+ | | ||
+ | |||
+ | \\ | ||
+ | =====See also===== | ||
+ | * [[syntax: | ||
+ | * [[syntax: | ||
+ | * [[syntax: | ||
+ | * [[syntax: | ||
- | === See also === | ||
- | * [[syntax: | ||
- | * [[syntax: | ||
- | * [[syntax: | ||
- | * [[syntax: |
syntax/functions/year.txt · Last modified: 2021/08/30 02:44 by craigt