Dies ist die alte 4D Dokumentations-Website. Die neue und aktualisierte Dokumentation finden Sie unter developer.4d.com

Home

 
4D v20 R7
YEAR

YEAR  


 

 

Command YEARYEAR (arithmetic_expression)

The YEAR function returns the year part of the date passed in the arithmetic_expression.

Example  

Supposing that we have the PEOPLE table with a Date_of_Birth field. To find out the year of the date of birth for every person in PEOPLE :

SELECT YEAR(Date_of_Birth)
FROM PEOPLE;



Siehe auch 

DAYOFYEAR

 
EIGENSCHAFTEN 

Produkt: 4D
Thema: Functions

 
SEITENINHALT 
 
GESCHICHTE 

 
ARTIKELVERWENDUNG

4D - SQL Reference ( 4D v20 R7)