Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Data Restriction On Time & Date

Hi,

I have a scenario where data consists of Date & Time. Now If User wants to see report then it should show values from Yesterday 6.00AM to Today 6.00 AM.Please look into it.

Thanks in Advance

11 Replies
jagan
Luminary Alumni
Luminary Alumni

Hi,

Today() gives you 2/17/2015 12:00:00

1/4 = 6/24 = 6 AM (6 AM/24 Hrs)

We are adding Today() + 1/4  which gives 2/17/2015 06:00:00

3/4 = 18/24 = 6 PM (18/24 Hrs)

We are adding Today() + 3/4  which gives 2/17/2015 18:00:00 OR 06:00:00 PM

Hope this helps you.

Regards,

Jagan.

maxgro
MVP
MVP

1 is one day

1/4 is 1/4 of a day, --> 6 hours

1/24 is 1 hour

......