Skip to main content
Planview Customer Success Center

Year Function

Year (dateTime as DateTime) as Numeric

Category: Date
Description: Returns the number of any given year
Supported Context: FormulaField And BusinessRules
dateTime as DateTime Represents a date value or a field that will return a date value
Returned value as Numeric Returns a numeric value representing the year number in the date value given in the "dateTime" parameter
Example #1

Create a numeric custom field for a project entity that will categorize the projects by the year they are scheduled to be delivered in


Tips Review other date and duration useful functions, such as DateDiff(), DateAdd(), and DateSubtract()
Related Functions




Additional Links

checkbox custom field