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 / Getting wrong date val...
Power Automate
Unanswered

Getting wrong date value from Microsoft Dynamics 365 CRM

(0) ShareShare
ReportReport
Posted on by 41

Hi,

 

I have a flow that runs everyday to check if there are any task with due date today to send a reminder email to the user. The flow works fine. The only issue which I am facing and have no idea why it happening. The issue is if the due date of the task in Dynamics 365 CRM is April 24, 2020, when I get the data in Microsoft Flow, this date value will turn into April 23, 2020 which is quite strange. I have no idea why it is subtracting one day automatically from the date field while getting the data from Dynamics 365 CRM.

 

Please help. 

 

Thanks,

Waleed.

Categories:
I have the same question (0)
  • Ed Gonzales Profile Picture
    4,531 Most Valuable Professional on at

    @WaleedBinAfzal 

    The date you are seeing through your D365 front-end is corrected for your local timezone based on your personal settings.  It is stored, however, in UTC.  If you add a step after it fetches the date called "Conver time zone" to change from UTC to your local, the dates should match.

     

    Please keep us posted.

    -Ed

     

     

    If you liked this reply, please give it a thumbs up! If this reply has answered your question or resolved your challenge, please consider marking it as a Solution. This helps other users find it more easily via search.

  • MJain Profile Picture
    2,450 on at

    Hi @WaleedBinAfzal ,

     

    Additionally you have to make sure that the timezone which you are running your recurring job matches with your user when you query data in CRM

     

    Capture.JPG

     

    Thanks

  • JeganathanG Profile Picture
    50 on at

    Hi @WaleedBinAfzal ,

    I also have the problem that the date I work on will be one day off from the actual date,I'm using a document update remainder flow that sends an email once a week.

    The main reason is that the system local time and the login email time zone are different.

    1. This is my System Time0101

     

     

     

    2. This is my Login Email Time Zone

     

     

    0202

     

     

    3. Changed Login email time zone

     

     

    image.png

     

    After changing the time zone on both the system and the login email, the problem was resolved, and the date now updates correctly.

     

    Thanks,

    Jegan

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

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 573

#2
Valantis Profile Picture

Valantis 407

#3
11manish Profile Picture

11manish 387

Last 30 days Overall leaderboard