Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
ashishpalkar
Creator III
Creator III

Convert Date

Hi There

How to convert this date into

05/22/2002 to May 2015

12 Replies
qlikviewwizard
Master II
Master II

Hi Use this script:

SETThousandSep=',';

SETDecimalSep='.';

SETMoneyThousandSep=',';

SETMoneyDecimalSep='.';

SETMoneyFormat='$#,##0.00;($#,##0.00)';

SETTimeFormat='h:mm:ssTT';

SETDateFormat='DD/MMM/YYYY';

SETTimestampFormat='M/D/YYYYh:mm:ss[.fff]TT';

SETMonthNames='Jan;Feb;Mar;Apr;May;Jun;Jul;Aug;Sep;Oct;Nov;Dec';

SETDayNames='Mon;Tue;Wed;Thu;Fri;Sat;Sun';

Table:

LOAD * ,Date(Date#(Date, 'MM/DD/YYYY'), 'MMM YYYY') as NewDate;

LOAD * INLINE [Date

6/16/2015

5/16/2015

4/16/2015

3/16/2015

2/16/2015

1/16/2015

];

ashwanin
Specialist
Specialist

Date(MonthStart(AddYears(Date#('05/22/2002', 'MM/DD/YYYY'),13)), 'MMMM YYYY')

qlikviewwizard
Master II
Master II

Hi Ashish, Did you able to manage?