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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

hi how to convert date field

Hi, i want to calculate lead time b/w two fields.

>>order date("MM/DD/YYYY") AND invoicedate(YYYY/MM/DD HH/MM/SS)

>>I want to convert the invoicedate into("MM/DD/YYYY") this format.

can any one have sol pls..

6 Replies
Not applicable
Author

Hi Arun,

Find the attachment.For any clarification let me know the same.

Thanks & Regards

Jai

Not applicable
Author

Hi Arun,

I have wrongly entered in the previous application.Check with this.

Thanks & Regards

Jai

googel84
Partner - Creator III
Partner - Creator III

Try this:

date(date#(left(invoicedate,10),"YYYY/MM/DD"),"MM/DD/YYYY")

With date# you tell the system that invoicedate (precisely its first 10 digits) has "YYYY/MM/DD" format; then you tell the system to convert invoicedate (that now it can recognize as a date field) into "MM/DD/YYYY" format.

Anonymous
Not applicable
Author

Thanks for reply ijprakash

>>know i get the actual format.


Anonymous
Not applicable
Author

hi thanks for reply.

its fine know.

Anonymous
Not applicable
Author

hi thanks for reply.

its fine know.