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

 

Example:

tradeYear = Year( 20021215 )       ' returns 2002

 

Returns:

Year for the given date

 

Links:

 

See Also:

Date Time Functions

 


Edit Time: 9/18/2020 12:02:08 PM


Topic ID#: 656

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