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: 
nougatitati
Contributor III
Contributor III

Basic date manipulation

Hi,

I'm terrible at dealing with dates in Qlik! I can't even resolve this small issue.

I loaded some data with

clipboard_image_2.png

giving me this:

clipboard_image_1.png

I wanted to take the floor of this to just get the date, with no hh:mm:ss included. I tried to do this:

clipboard_image_3.png

But look at what this results in! For some reason it loses the month field! What could be happening?

clipboard_image_0.png

I swear, Qlik Sense just doesn't like me!

1 Solution

Accepted Solutions
Vegar
MVP
MVP

You nerd to use MM in upper case. Lower case indicates minutes.

Date(floor(timer1), 'DD/MM/YYYY') as timedate

should give you what you want.

 

Alternatively 

Dayname(timer1)  as timedate

View solution in original post

1 Reply
Vegar
MVP
MVP

You nerd to use MM in upper case. Lower case indicates minutes.

Date(floor(timer1), 'DD/MM/YYYY') as timedate

should give you what you want.

 

Alternatively 

Dayname(timer1)  as timedate