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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
rmnvncnt
Partner - Contributor II
Partner - Contributor II

Equivalent of DayStart for Hours?

I'm trying to reproduce the result of DayStart() in the backend but at the hour level. My input data consists in 'DD/MM/YYYY hh:mm:ss' timestamps.

I tried this :

Timestamp(Floor(($(vTransactionDateTime) * 24) / 24))

but it returns rounded up data to the day level.

Any idea?

1 Solution

Accepted Solutions
sunny_talwar

Try this

Timestamp(Floor($(vTransactionDateTime), 1/24))

View solution in original post

1 Reply
sunny_talwar

Try this

Timestamp(Floor($(vTransactionDateTime), 1/24))