Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
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