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: 
124psu
Creator II
Creator II

time stamp subtract hours

I want to subtract 4 hours from the now() function to show the EST time zone. 

=timestamp(now() - time(4))

This actually does nothing and gives me the same thing as = now().

Anyone have any tips/ideas on how to simply subtract 4 from the now() function?

Labels (1)
1 Solution

Accepted Solutions
salezian
Creator
Creator

Hi

Did you try this:

=Timestamp(num(now())-4/24)

KR

Marcin.

View solution in original post

2 Replies
salezian
Creator
Creator

Hi

Did you try this:

=Timestamp(num(now())-4/24)

KR

Marcin.

124psu
Creator II
Creator II
Author

Thanks very much. Didn't realize I had to divide by 24.