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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Get Rows add date format in filter query in flow

(0) ShareShare
ReportReport
Posted on by 71

Hi 

i am trying to retrieve data from oracle. i added filter query with date field. i am getting an error. could you please advice me how i can format database date field

i used this filter query. 

modified_date ge formatDateTime(variables('last_sync_Date'),'yyyy-MM-ddThh:mm:ssZ')  (refer to the image1 below) and getting this error. 

The DateTimeOffset text '2019-04-24T04:00:38Z\n\n\n\n\n' should be in format 'yyyy-mm-ddThh:mm:ss('.'s+)?(zzzzzz)?' and each field value is within valid range.   inner exception: The DateTimeOffset text '2019-04-24T04:00:38Z\n\n\n\n\n' should be in format 'yyyy-mm-ddThh:mm:ss('.'s+)?(zzzzzz)?' and each field value is within valid range.\r\n         inner exception: The time zone information is missing on the DateTimeOffset value '2019-04-24T04:00:38Z\n\n\n\n\n'. A DateTimeOffset value must contain the time zone information."},"source":"oracle-cc.azconn-cc.p.azurewebsites.net"}}

Please advise me how to add filter query to compare two date fields.

Modified date value is coming as : ": "2019-05-23T00:00:00Z",

DateFormat.GIF

I have the same question (0)
  • Suggested answer
    haroldk Profile Picture
    Microsoft Employee on at

    Try to add single quotes around the format data variable .

    Modified Date ge 'formatDateTime'

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 Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 184 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 125

#3
CU11031447-0 Profile Picture

CU11031447-0 100

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans