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

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
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