Skip to main content

New to Qlik Sense

If you’re new to Qlik Sense, start with this Discussion Board and get up-to-speed quickly.

Announcements
Action-Packed Learning Awaits! QlikWorld 2023. April 17 - 20 in Las Vegas: REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
_armoco_
Partner - Creator II
Partner - Creator II

Date conversion issue

Hi all,

Unable to convert date to MM/DD/YYYY format. Tried with date# and then date and for some reason its not working out.

What am I missing?

Please find the attached QVD.

Thanks and Regards,

Arjun

1 Solution

Accepted Solutions
kaushiknsolanki

Try this.

LOAD [Sr. No],

     //Date,

     Date(Date#(Date,'D-MMM-YY')) as Date,

     Attendance

FROM

Data.qvd

(qvd);

Regards,

Kaushik Solanki

Regards,
Kaushik
If reply is satisfactory, please "Like" the post.
If reply is solution, please mark as "Correct".

View solution in original post

5 Replies
kaushiknsolanki

Try this.

LOAD [Sr. No],

     //Date,

     Date(Date#(Date,'D-MMM-YY')) as Date,

     Attendance

FROM

Data.qvd

(qvd);

Regards,

Kaushik Solanki

Regards,
Kaushik
If reply is satisfactory, please "Like" the post.
If reply is solution, please mark as "Correct".
hemeshreddy
Partner - Contributor III
Partner - Contributor III

try with

Date(Date#(Date,'DD-MMM-YYYY'),'DD-MM-YYYY') as Date

Regards,

Hemesh

devarasu07
Master II
Master II

Hi,

you can try like below,

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

LOAD [Sr. No],

     Date,

     Attendance

FROM

(qvd);

Capture.JPG

_armoco_
Partner - Creator II
Partner - Creator II
Author

Woah! I missed out MMM and was trying with MM. Thanks guys!

devarasu07
Master II
Master II

Hi,

Fine, can you close this thread by marking helpful and correct for the replies.  Thanks