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

  • 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Syed Aqib Raza Profile Picture

Syed Aqib Raza 139

#2
11manish Profile Picture

11manish 105 Super User 2026 Season 2

#3
ParthPatel249 Profile Picture

ParthPatel249 77

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans