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 / Get Items Query includ...
Power Automate
Answered

Get Items Query include items due today

(2) ShareShare
ReportReport
Posted on by 160
Hello,
 
I have a list of tasks that have a due date. In my flow I am using Get Items with a Filter Query where DueDate le 'utcNow()'. It is getting all the appropriate records except the ones due today. The due date is a date/time column with time.
 
How do I get the list of items to include today's items.
 
 
 
 
Categories:
I have the same question (0)
  • Suggested answer
    David_MA Profile Picture
    14,956 Super User 2026 Season 1 on at
    The time is taken into consideration with this query. So you need to wrap utcNow() inside of a startOfDay() expression so the time is set to midnight, or for today, it will return 2026-05-29T00:00:00Z.
     
    e.g., startOfDay(utcNow())
  • Verified answer
    Tomac Profile Picture
    4,153 Moderator on at
     
    There are a few ways to do this. First is to use FormatDateTime() to set the hour to 11:59PM:
    @{formatdatetime(utcNow(),'yyyy-MM-ddT23:59:59')}
     
     
    Or simply set it to pull for the following day using AddToTime():
    @{addToTime(utcNow(),1,'day')}
     
    Note that these expressions can be copy/pasted directly into your queries without using the Expressions editor. To use the Expression Editor, remove the at symbol and curly brackets.
  • FW-07051511-0 Profile Picture
    160 on at
     
    Your addToTime suggestion got me going in the right direction. Thank you.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 377

#2
11manish Profile Picture

11manish 279

#3
David_MA Profile Picture

David_MA 234 Super User 2026 Season 1

Last 30 days Overall leaderboard