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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
619SK
Helper II
Helper II

Timezone Conveter

I want to convert Date & Time into CST, GMT, SGT, EST, IST  timezone.

I have date columns and also created Refresh date time which should change by clikcing on Timezone.

 

 

1 ACCEPTED SOLUTION
Omid_Motamedise
Super User
Super User

You can use DateTimeZone.SwitchZone function, for example

DateTime.LocalNow() leads to curent date and time at your location but the next fromula convert it to GMT (UTC+0)

DateTimeZone.SwitchZone(DateTimeZone.LocalNow(), 0)

 


Example for CST (UTC-6):

DateTimeZone.SwitchZone(DateTimeZone.LocalNow(), -6)

Example for SGT (UTC+8):

DateTimeZone.SwitchZone(DateTimeZone.LocalNow(), 😎

Example for EST (UTC-5):

DateTimeZone.SwitchZone(DateTimeZone.LocalNow(), -5)

Example for IST (UTC+5:30):

DateTimeZone.SwitchZone(DateTimeZone.LocalNow(), 5.5)

 

If my answer helped solve your issue, please consider marking it as the accepted solution. It helps others in the community find answers faster—and keeps the community growing stronger!
You can also check out my YouTube channel for tutorials, tips, and real-world solutions in Power Query with the following link
https://youtube.com/@omidbi?si=96Bo-ZsSwOx0Z36h

View solution in original post

1 REPLY 1
Omid_Motamedise
Super User
Super User

You can use DateTimeZone.SwitchZone function, for example

DateTime.LocalNow() leads to curent date and time at your location but the next fromula convert it to GMT (UTC+0)

DateTimeZone.SwitchZone(DateTimeZone.LocalNow(), 0)

 


Example for CST (UTC-6):

DateTimeZone.SwitchZone(DateTimeZone.LocalNow(), -6)

Example for SGT (UTC+8):

DateTimeZone.SwitchZone(DateTimeZone.LocalNow(), 😎

Example for EST (UTC-5):

DateTimeZone.SwitchZone(DateTimeZone.LocalNow(), -5)

Example for IST (UTC+5:30):

DateTimeZone.SwitchZone(DateTimeZone.LocalNow(), 5.5)

 

If my answer helped solve your issue, please consider marking it as the accepted solution. It helps others in the community find answers faster—and keeps the community growing stronger!
You can also check out my YouTube channel for tutorials, tips, and real-world solutions in Power Query with the following link
https://youtube.com/@omidbi?si=96Bo-ZsSwOx0Z36h

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors