Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

sql convert datetime to year

select YEAR(getdate())
/* 2020 */
 
PREVIOUS NEXT
Tagged: #sql #convert #datetime #year
ADD COMMENT
Topic
Name
8+3 =