Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
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 (2)
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.