web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / filtering get items ba...
Power Automate
Answered

filtering get items based on date and time

(0) ShareShare
ReportReport
Posted on by 204

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'

Categories:
I have the same question (0)
  • Verified answer
    v-bacao-msft Profile Picture
    Microsoft Employee on at

     

    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, 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 796

#2
Valantis Profile Picture

Valantis 568

#3
Haque Profile Picture

Haque 538

Last 30 days Overall leaderboard