Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
omiaye
Contributor II
Contributor II

Expression dissection

Please I need some help to break down this expression. I can't find any help documentation on CurrentTime.

Timestamp(RangeSum(CurrentDate, Frac(Floor(CurrentTime*96)/96)))

Thanks.

Labels (1)
1 Solution

Accepted Solutions
MayilVahanan

Hi

Try like below

=Timestamp(RangeSum(Today(), Frac(Floor(Now()*96)/96)))

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.

View solution in original post

4 Replies
MayilVahanan

Hi

Try like below

=Timestamp(RangeSum(Today(), Frac(Floor(Now()*96)/96)))

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
omiaye
Contributor II
Contributor II
Author

@MayilVahanan 
Please what is the significance of multiplication by 96?

Chanty4u
MVP
MVP

Hi 

It multiplies the current time by 96 (number of quarter-hours in a day) and then rounds down to the nearest integer.

omiaye
Contributor II
Contributor II
Author

Thank you @Chanty4u. I am still trying to understand the importance of multiplication by 96. What value do you get by doing this multiplication or under what circumstance does one need to do this type of calculation? I would greatly appreciate any additional usage use cases. Thanks.