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

Notifications

Announcements

No record found.

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 69

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 96 Super User 2025 Season 2

#2
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 49 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans