Qlik Community

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
QlikWorld 2022, LIVE in Denver CO., May 16-19, 2022. REGISTER NOW TO RECEIVE EARLY BIRD PRICING
cancel
Showing results for 
Search instead for 
Did you mean: 
breno_morais
Partner
Partner

Convert text to Date

Dear all,

I have the field MONTH_REF with value "01 - Januery", how i can convert this for month?

All help will be appreciated

1 Solution

Accepted Solutions
neelamsaroha157
Specialist II
Specialist II

try this -

Date(Date#(Left(MONTH_REF,2), 'MM'), 'MMM')

View solution in original post

3 Replies
vamsee
Specialist
Specialist

May be try

Month(Date#(Trim(Subfield('01 - January', '-', 1)) ,'M') )

--------

Month(Date#(Trim(Subfield(MONTH_REF , '-', 1)) ,'M') )

neelamsaroha157
Specialist II
Specialist II

try this -

Date(Date#(Left(MONTH_REF,2), 'MM'), 'MMM')

View solution in original post

breno_morais
Partner
Partner
Author

Exactly what I need. thank you