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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
paulyeo11
Master
Master

My date field D/M/YY How to recode ?

Hi All

My date field as below :-

Month

month.png


D/M/YY

I try below , it does not work :-

Date( Date#([Month], 'DD/MM/YY'), 'DD/MM/YYYY') as [date],

Hope some one can advise me.

Paul Yeo

1 Solution

Accepted Solutions
MarkWillems
Contributor III
Contributor III

It's already a date field, it doesn't need Date#.  Date(Month,'DD/MM/YYYY') gives you the value you need 

I tested this by changing the second list box for date9 (LB22510) use the following expression:

=Date(date8,'DD/MM/YYYY')

Hey, Please don't forget to add kudos, like or mark as a solution if my reply has helped you at all! 🙂

View solution in original post

5 Replies
sergio0592
Specialist III
Specialist III

Hi,

Try with Date( Date#([Month], 'D/M/YY'), 'DD/MM/YYYY') as [date]

paulyeo11
Master
Master
Author

Hi All

I try below script :-

Month as date8,

Date( Date#([Month], 'D/M/YY'), 'DD/MM/YYYY') as [date9],

It return nothing. May i know where it go wrong ?

Paul

paulyeo11
Master
Master
Author

Hi All

Can some one advise me . As I can see the date at excel . 

Paul

MarkWillems
Contributor III
Contributor III

It's already a date field, it doesn't need Date#.  Date(Month,'DD/MM/YYYY') gives you the value you need 

I tested this by changing the second list box for date9 (LB22510) use the following expression:

=Date(date8,'DD/MM/YYYY')

Hey, Please don't forget to add kudos, like or mark as a solution if my reply has helped you at all! 🙂
paulyeo11
Master
Master
Author

Hi Mark

Thank you very much. It work fine now.

Paul