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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Problem with Dates

Hi everybody,

I have this problem. I have dates on SQL like this: 2008-06-30 10:10:00

If i create a master calendar using Week, Day, Month, everything is OK.

The problem is that i want now the date WITHOUT hour, minute and seconds but ALSO working the calendar

(because if i convert dates in SQL, then it doesn't work on QV the calendar)

Any help?

Thanks!

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

I use the function Date (MyDate) for dates without hour, minute and seconds.

View solution in original post

3 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

You can use the floor function to cut off the time part of a datetime/timestamp value: floor(MyDate) as DateWithoutTime. See this blog post for more information: The Master Time Table


talk is cheap, supply exceeds demand
Anonymous
Not applicable
Author

I use the function Date (MyDate) for dates without hour, minute and seconds.

Not applicable
Author

Yeah, thats works fine,

Thanks all