Skip to main content

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
Action-Packed Learning Awaits! QlikWorld 2023. April 17 - 20 in Las Vegas: REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
philmywallet
Creator
Creator

DateTimestamp to Hour Only

Hi I have a DateTimeStamp (14/01/17  21:45)

I want to convert it to show Hour only (21) as a decimal.

Can anyone help?

Many thanks

1 Solution

Accepted Solutions
marcus_sommer
MVP & Luminary
MVP & Luminary

You could just use: hour(DateTimeStamp) for it.

- Marcus

View solution in original post

4 Replies
marcus_sommer
MVP & Luminary
MVP & Luminary

You could just use: hour(DateTimeStamp) for it.

- Marcus

philmywallet
Creator
Creator
Author

How funny !!

You can't imagine how many combinations of rounding combined with calculations.

Muppet moment for me.

Thanks Mark

philmywallet
Creator
Creator
Author

Marcus (not Mark)

sunny_talwar

You want to see it in decimal?

Ceil(Frac(DateTimeStamp), 1/24)