STR_TO_DATE how to get just the year part

I have a date as a String, and need to get just the year part.  So that i can use the year in the series expression in a chart.

How can i do that?Can somebody help? Thanks in advace.

  STR_TO_DATE(data,'%d-%m-%Y')

ll.rodrigo's picture
Joined: Mar 25 2015 - 10:55pm
Last seen: 6 years 7 months ago

0 Answers:

No answers yet
Feedback
randomness