Returns the year for the specified date.

 

Syntax:

value = Year( expression )

 

Parameter:

Description:

expression

Any expression that resolves to a date in the format YYYYMMDD

 

Returns:

Year for the given date

 

Example:

tradeYear = Year( 20021215 )       ' returns 2002

 

Links:

 

See Also:

Date Time Functions

 


 

Created with Help & Manual 7 and styled with Premium Pack Version 2.80 © by EC Software