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

Announcements
Annual Conference: Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Load yyyy-mm-dd as mm/dd/yyyy

Hi how would I load my dates as above ?

I have tried Date(date#(Date,'YYYY-MM-DD'), 'MM/DD/YYYY') but to no avail

1 Solution

Accepted Solutions
Not applicable
Author

Thanks for your help ... School boy error on my part as I had the input date as yyyy-mm-dd rather than yyyy-dd-mm

View solution in original post

18 Replies
Digvijay_Singh

This looks fine, Can you share sample data and complete statement to verify further. Could be extra space here and there.

Not applicable
Author

Date(date#(Date,'YYYY-MM-DD'),'MM/DD/YYYY') as SALES_DATE

Digvijay_Singh

Any sample data if you can share? Will apply and see why it is not working.

Digvijay_Singh

I applied this in text box - =Date(date#('2015-09-21','YYYY-MM-DD'),'MM/DD/YYYY'), you can see it worked.

date.PNG

sunny_talwar

I agree with Digvijay, I don't see any problem with what you have. A sample would be helpful here.

maniram23
Creator II
Creator II

Hi,

Please Check the date format.

if you give date like 10-12-2014 than you give format also "DD-MM-YYYY".

see this one   =Date(date#('2014-02-01','YYYY-MM-DD'), 'MM/DD/YYYY')

qlikview979
Specialist
Specialist

YES . I agree with Digvijay singh and mani ram .its correct

sasiparupudi1
Master III
Master III

May be try

Date(Date#(trim(Date),'YYYY-MM-DD'), 'MM/DD/YYYY')

hth

Sasi

Not applicable
Author

Thank you all for the responses however none of the solutions work. I am attaching my sample data.

Thanks