Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Surekha
Helper I
Helper I

Showing logged in user Date time with Type of timezone it belongs to

Hi,

In the Report, i need to show the logged in users current Datetime and type of timezone it is showing. Using DAX Now() i will get the current date and time however i am not getting whether it is EST,PST or CET timezone. I need to add timezone also to the timestamp. Please suggest if anything related to Power Query or DAX function this can be achieved. Thanks in Advance.

4 REPLIES 4
v-xinruzhu-msft
Community Support
Community Support

Hi @Surekha 

You can use DateTimeZone.From() in power query/

e.g:= DateTimeZone.From(DateTimeZone.LocalNow())

Output:

vxinruzhumsft_0-1674006580200.png

You can refer to the following link:

DateTimeZone.From - PowerQuery M | Microsoft Learn

 

Best Regards!

Yolo Zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

Thanks for your response. i have tried the one that you provided i getting like this

18/01/2022 10.33:57 AM +00:00 . What i need is 18/01/2022 10.33:57 AM GMT . Is that possible to show GMT/EST/CET like this. It will vary if user runs the report from US then as per his timezone it should show. 

Thanks for your response. What i need is 18/01/2022 10.33:57 AM GMT . Is that possible to show GMT/EST/CET like this. It will vary if user runs the report from US then as per his timezone it should show. if i run from Indian it show India timings and with IST at the end of the date

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors