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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
alkesh_sharma
Creator III
Creator III

Making Master Calender

Hello,

I have a data in which the date format is as below:

1-JAN_2013

2-JAN_2013 and so on...

How can i change it in standard format as the Year(), Month() commands are not working on the mentioned format.

Thanx in Advance

Labels (1)
10 Replies
er_mohit
Master II
Master II

try this

load*,

year(Date) as Year,

Month(Date) as Month;

load

Date(Date#(Purgechar(Datefield,'_,-'),'DDMMMYYYY'),'DD-MMM-YYYY') as Date

FieldA,Fieldb,

....

..so on

from table;