Navigation:  MCL Reference > Miscellaneous Functions >

Year( )

Print this Topic Previous pageReturn to chapter overviewNext page

Year( ) is a Visual FoxPro function. It returns year number for a given date.

 

Syntax

Year(dExpression1)

 

Returns

Numeric

 

Example

Year({^2003/8/1})

Returns 2003

 

See Also

Date( ); Month( ); HrDate( ), JrDate( ), SrDate( )

 


Page url: http://www.racematenet.com/english/help/index.html?year.htm