Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
hi,
i have create a date column in my excel sheet and given date as 19/07/2016 but after reloading the script it is coming in number format 42570 why??and how to correct it??
Dates are actually numbers (counted from Dec 31st, 1899).
If you put a Date() function around that field in your load script, all problems should be solved.
Normally dates just stay dates, so my guess is you are also loading that same field name as a number in your script or you use it in a mapping load, as mapping tables turn dates into numbers again.
If you load the Value. You can ad Date#()
load
...
date#( yourDate ) as yourDate
Hi,
just use date(dateField,'DD/MM/YYYY')
Regards
Use
Date(DateField) as DateField
Date Field is Dual Field
Text -> 19/07/2016 and Number -> 42570
Regards
Correction: Without the #
Date have both number and string interpretation.
From Reference Manual:

From QlikView Help:

Note that help is now (since QlikView 12) completely online, so there is no need to post screenshots of it. You can just link to the appropriate topic.
Thanks for that!