Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Correct date format in XML file

I have some XML files that I am loading into Qlikview. Here's a fragment from a node:

<Exclusion><StartDate>17/01/2003 00:00:00</StartDate><EndDate>24/01/2003 00:00:00</EndDate></Exclusion>

I've loaded them in but it looks like Qlikview is treating the date as a number rather than a proper date / time value - how should I format the XML so that Qlikview loads it properly?

4 Replies
alexandros17
Partner - Champion III
Partner - Champion III

Have you tried to format date after loading with date(xxxxxxx,"dd/MM/yyyy")

Not applicable
Author

Do I need to do that in the loadscript, or in the QV designer?

alexandros17
Partner - Champion III
Partner - Champion III

In the loading

Not applicable
Author

U can use this date(xxxxxxx,"dd/MM/yyyy") in both.

If u use this in QV designer, it creates performance issue.

If U use this in Load script , it increase the performance.

Regards,

KabilanK.