beautypg.com

Year, 62 year – Apple iWork '09 User Manual

Page 62

background image

YEAR

The YEAR function returns the year for a given date/time value.

YEAR(date)

Â

date: The date the function should use. date is a date/time value. The time portion
is ignored by this function.

Examples

=YEAR(”April 6, 2008”) returns 2008.
=YEAR(NOW()) returns 2009 when evaluated on June 4, 2009.

Related Topics
For related functions and additional information, see:

“DAY” on page 47

“HOUR” on page 51

“MINUTE” on page 52

“MONTH” on page 53

“SECOND” on page 56

“Listing of Date and Time Functions” on page 42

Value Types” on page 36

The Elements of Formulas” on page 15

“Using the Keyboard and Mouse to Create and Edit Formulas” on page 26

“Pasting from Examples in Help” on page 41

62

Chapter 3

Date and Time Functions