Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi -
What is the generel rule by convert a datetime to a date?
Eg in SQL cast('2014-01-15 03:00:00.00' as date) equals 2014-01-15 and then it spands from 2014-01-15 00:00:00.001 to 2014-01-15 23:59:59.999
But when i do this in Qlikview Date#(Date(CreateDate, 'YYYY-MM-DD') - then i dont get all my data (some of my data from the 15th is pushed back to the 14th.
How can i avoid this?
Wrap your date field in floor():
=date(floor(YourDateField))
This will get rid of the timestamp.
I already have my timestamp off - But i just misunderstood my own data. So its okay