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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Christian7
Contributor
Contributor

Extracted Dates shouldn't include '00:00:00'

I haven't used the timestamp function anywhere in the loading script.

When I copy a cell value in Qlik and paste it manually into Excel, it's correct. For example, '31/12/2022'.

However when I extract the entire table and open it up in Excel, that date now appears as '01/01/2023', and this is because the full item on the Excel file is '31/12/2022 00:00:00'.

How do I get rid of that '00:00:00'?

Labels (1)
2 Replies
Or
MVP
MVP

You can explicitly format a date using e.g. date(Floor(YourField),'DD/MM/YYYY') as YourField.

Note that there is no difference between 31/12/2022 00:00:00 and 31/12/2022 and neither of them will evaluate to 01/01/2023.

Christian7
Contributor
Contributor
Author

Finally got back to this today, and it worked, thanks for you help with this Or.