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

Community site session details

Session Id : 4L0Z4Ez9ROxAkTsoT6rPup
Power Automate - Using Flows
Unanswered

Getting wrong date value from Microsoft Dynamics 365 CRM

Like (0) ShareShare
ReportReport
Posted on 28 Apr 2020 10:01:13 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.

I have the same question (0)
  • JeganathanG Profile Picture
    50 on 13 Mar 2023 at 06:00:32
    Re: Getting wrong date value from Microsoft Dynamics 365 CRM

    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

  • MJain Profile Picture
    2,450 on 12 May 2020 at 21:46:35
    Re: Getting wrong date value from Microsoft Dynamics 365 CRM

    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

  • Ed Gonzales Profile Picture
    4,531 Most Valuable Professional on 12 May 2020 at 21:33:48
    Re: Getting wrong date value from Microsoft Dynamics 365 CRM

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

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…

MS.Ragavendar – Community Spotlight

We are honored to recognize Ragavendar Swaminatha Subramanian as our September…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 725 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 363 Moderator

#3
Power Apps 1919 Profile Picture

Power Apps 1919 341

Last 30 days Overall leaderboard

Featured topics

Restore a deleted flow