Forum Discussion
Anonymous
5 years agoNot applicable
Convert Date Column from UTC to EST Timezone
Hi, I'm pulling CRM dynamics data in UTC format, I see that dates showing in Powerbi is different from CRM dynamics. Now i want to convert that date column to local time zone EST. Please sh...
- 5 years ago
Hi Anonymous ,
UTC is 5 hrs ahead of EST,so create below M query to convert the timezone column to EST time:
EST = DateTimeZone.SwitchZone([UTC],-5)And you will see:
For the sample .pbix file,pls see attached.
Best Regards,
KellyDid I answer your question? Mark my post as a solution!
v-kelly-msft
5 years agoCommunity Support
Hi Anonymous ,
UTC is 5 hrs ahead of EST,so create below M query to convert the timezone column to EST time:
EST = DateTimeZone.SwitchZone([UTC],-5)
And you will see:
For the sample .pbix file,pls see attached.
Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!
JacoMathew
4 years agoFrequent Visitor
Hi,
how does the function take care when the day light savings kicks in ? Is there a function that looks at the date and decides whether it should be -5 or -4 (Eastern Daylight Time) ?
Thanks
Jaco