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: 
ashmitp869
Creator II
Creator II

issue with datetime format when exporting to excel

Hi there,

 

Initially I have made datetime format in SQL , but that is giving me datetime field as text. 

.Though when export to excel was giving correct datetime format.

Then I changed the datetime in Qlikview script like below:

 

Date([SE End Dttm],'DD/MM/YYYY h:mm:ss[.fff] TT') as  [SE End DateTime]

 

Which is giving is correct result i.e all datetime field is date instead of text.

But now when I export to excel the datetime field is like below:

 

ashmitp869_0-1689209624942.png

 

 

Please suggest, how should keep the date format intact when export to excel is done.

Labels (2)
1 Reply
cristianj23a
Partner - Creator III
Partner - Creator III

Hello, you need to format it in the table or graph.

Go to properties and then to the numbers section, there you click on Date/time and add the format.

I send you the image.

cristianjmr_1-1689304362417.png

cristianjmr_2-1689304378725.png

 

Regarts.

 

https://www.linkedin.com/in/cristianjorge/
Do not forget to mark as "Accepted Solution" the comment that resolves the doubt.