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: 
Anonymous
Not applicable

Date Time

Hey Community,

I have field EntryDateTime (15/03/2016 10:40:45)

How can i use only the hour ?

My client wants to chose From - To Hour in his selection

I add the app, the problem is when i choose from the var date From date - To date

And press apply i dont get all the selection

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

To get minute you can try this:

Time(Frac(EntryDateTime, 'hh:mm')

Can you check if the selection is now working in your attached sample?

View solution in original post

11 Replies
sunny_talwar
MVP
MVP

May be use Hour() function

Hour(EntryDateTime) as Hour

Anonymous
Not applicable
Author

Thx @Sunny TBut i get only round hour if i need also the min ?

E.g 10:25

Chanty4u
MVP
MVP

try

=Hour(Datefield)

sunny_talwar
MVP
MVP

To get minute you can try this:

Time(Frac(EntryDateTime, 'hh:mm')

Can you check if the selection is now working in your attached sample?

Anonymous
Not applicable
Author

Amazing thank you so much !!!

Anonymous
Not applicable
Author

How can i make From Hour To Hour Free selection to the user, That will impact the EntryDateTime ?

Capture3.JPG

sunny_talwar
MVP
MVP

Hour to Hour free selection?

Anonymous
Not applicable
Author

Yes

sunny_talwar
MVP
MVP

I don't understand what you mean by Hour to Hour selection. Can you may be elaborate?