Salesforce

Year (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

Year (Magic xpa 3.x)

Returns the year portion of a date, in four digits.

Syntax:

Year(date)

Parameters:

date: Input date.

Returns:

Number of years

Example:

If the System Date is 01/28/92, Year(Date()) returns 1992

See also:

How Do I Calculate the Day/Month/Year Portion of a Given Date Value?

The Online and Rich Client Samples projects (program DT14 and RDT14)

Reference
Attachment 
Attachment