Skip to main content

Notifications

Announcements

No record found.

Customer Insights - Journeys forum
Suggested answer

Get Rows add date format in filter query in flow

Posted on by 459

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
    haroldk on at
    RE: Get Rows add date format in filter query in flow

    Try to add single quotes around the format data variable .

    Modified Date ge 'formatDateTime'

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 16th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,353 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,251 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans