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

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
manojkulkarni
Partner - Specialist II
Partner - Specialist II

Time from TimeStamp

Hi everyone,

How to get hour part from given timestamp ? Hour should get round of to nearest value.

eg :01:35:21 -> "02"

00:21:45 -> 00

11 Replies
its_anandrjs
Champion III
Champion III

Hi,

Let me know this formats are in the HH:MMSS.

Regards

Anand

its_anandrjs
Champion III
Champion III

Hi.

If is is then do some thing this way

Time( Left([Column Name],2), 'hh')

Or

Time(Time#( Left([Column Name],2), 'hh'),'hh')


Regards

Anand