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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Add one hour to time

Hi,

due to different timezones I need to add one hour to the below:

Text(Time(round(OriginalTime, (1/24)), 'hh:mm:ss'))as Time

In other words 08:00:00 should be 09:00:00 and so on.

Any ideas?

Kind Regards,

Olle

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Text(Time(round( (OriginalTime+(1/24)), (1/24)), 'hh:mm:ss'))as Time

View solution in original post

5 Replies
Anonymous
Not applicable
Author

Text(Time(round( (OriginalTime+(1/24)), (1/24)), 'hh:mm:ss'))as Time

Not applicable
Author

hi,

found this one.

timestamp(MyDate + NumberOfHours/24)

so change the comma to + might do the trick.

(OriginalTime + 1/24)

CU 😉

/klas

Not applicable
Author

Hi,

Try this

Text(Time(Num(Time(round(OriginalTime, (1/24)), 'hh:mm:ss'))+ Num( Time('1:00:00','hh:mm:ss')),'hh:mm:ss'))

Not applicable
Author

hi

what bill said is exactly right!

Text(Time(round( (OriginalTime+(1/24)), (1/24)), 'hh:mm:ss'))as Time


will do!



Regards,

Barathiraja

its_anandrjs
Champion III
Champion III

One of this

Time ( NUm(Time(round(Now(), (1/24)), 'hh:mm:ss')) + Num(Time('1:00:00','hh:mm:ss')),'hh:mm:ss' )

Regards

Anand