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: 
risabhroy_03
Partner - Creator II
Partner - Creator II

Subtract Hours from date

I have a date field [INDT] and I want to subtract 5 hours from it. Please help me.

My [INDT] is in the below format 

risabhroy_03_0-1636528714218.png

11 - Month

1 - Date

2021 - Year

1 Solution

Accepted Solutions
tresesco
MVP
MVP

[INDT] - 5/24 will give you timestamp reduced by 5 hours. Then you can format the output using any formatting function like timestamp().

View solution in original post

1 Reply
tresesco
MVP
MVP

[INDT] - 5/24 will give you timestamp reduced by 5 hours. Then you can format the output using any formatting function like timestamp().