Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hi,
Can anyone please suggest me on how to get the current datetime in UTC. I used function Now() but it is returning the current system local time.
Thanks
Rakesh
Hi @30rakesh I use a slightly different formula to @Greg_Deckler
Find your timezone e.g. mine is New Zealand +13hours for summer time.
and use code
Date NZTimeZone_NowDateTime = NOW()+(13/24)
unfortunatley I have to remember to change this back after daylight savings time.
Hi rakesh,
I am not aware of a way to do it in DAX, but you can do it in M by going to edit queries and adding a custom column with the formula: DateTimeZone.UtcNow()
If you still want do it in DAX and use it as a measure, you can get your current timezone by using Now() and adding or substrating hours in order to get UTC time.
Hope this helps!
To subtract 1 hour from NOW, you can use a formula like:
Column = NOW() - 0.04166666666666667
For 2 hours:
Column = NOW() - 0.04166666666666667*2
etc.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 22 | |
| 22 | |
| 18 | |
| 17 | |
| 13 |
| User | Count |
|---|---|
| 63 | |
| 50 | |
| 46 | |
| 41 | |
| 39 |