Navigation:  Reference > Functions >

Year()

Print this Topic Previous pageReturn to chapter overviewNext page

 

YEAR(1)

 

PURPOSE

This function returns the year of a date value (type D) as a string (type A).

 

PARTS

1. f/c/eRequired - The date value to use.

 

RETURN TYPE - A

This function returns a 4 character string.

 

EXAMPLE

define x type a size 4

x = year(date())

// x = '2012'

 

 


Page url: http://www.cassoftware.com/tas/manual/year().htm