cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Krishna98
Helper V
Helper V

filtering get items based on date and time

Hi,

 

I'm Having a list as below,

q2.PNG

now i want to filter the items based on date and startofhour. suppose now current time is 2020-11-1 8:30 PM so i want to compare upto hour in the current time and need to get the data t1 and t4.

 

so i've tried something like below,

Notify eq '2020-11-1 8'

 

q1.PNG 

 

outputs is formatted date i.e. 'yyyy-MM-dd HH' i.e. '2020-11-1 8'

1 ACCEPTED SOLUTION

Accepted Solutions
v-bacao-msft
Community Support
Community Support

 

Hi @Krishna98 ,

 

You could paste the following expression to Filter Query to filter items:

Notify ge '@{utcNow('yyyy-MM-ddT00:00:00Z')}' and Notify lt '@{addDays(utcNow(),1)}'

Please take a try.

 

Best Regards, 

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-bacao-msft
Community Support
Community Support

 

Hi @Krishna98 ,

 

You could paste the following expression to Filter Query to filter items:

Notify ge '@{utcNow('yyyy-MM-ddT00:00:00Z')}' and Notify lt '@{addDays(utcNow(),1)}'

Please take a try.

 

Best Regards, 

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Users online (18,229)