Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Date Conversion

i have date in Oct-2017 format and want to convert it in to year like 2017

please suggest the way to do this

1 Reply
sunny_talwar

Try this

Year(Date#(DateField, 'MMM-YYYY')) as Year

or this

Right(DateField, 4) as Year