Functions Reference

Table Of Contents
FILEMAKER FUNCTIONS REFERENCE 45
Data type returned
number
Originated in
FileMaker Pro 6.0 or earlier
Description
You can, for example, extract the year from a field containing the date an item was sold.
Important To avoid errors when using dates, always use four-digit years. For more information
about how FileMaker Pro handles two-digit dates, see Conversion of dates with two-digit years.
Examples
Year(DateSold) returns the year stored in DateSold.
Year(“5/5/2014”) returns 2014.
Year(Date(Month(Get(CurrentDate)) +
48;Day(Get(CurrentDate));Year(Get(CurrentDate))))
returns the year that is 48
months from today’s date.
Related topics
Contents
Functions reference (alphabetical list)
YearName
Purpose
Returns the Japanese year name of date, provided in the specified format.
Format
YearName(date;format)
Parameters
date - any calendar date
format - a number (0, 1, or 2) that describes the display format
Data type returned
text
Originated in
FileMaker Pro 6.0 or earlier