Forum Discussion
dhirata
1 year agoFrequent Visitor
Syntax error in custom function to covert UTC to Central Time
I have the following M code as a custom function in power query, and I'm getting a "Token ')' expected" error, but I don't see where a parenthesis is missing. Can you please help? Function is suppo...
ronrsnfld
1 year agoSuper User
If you happen to be in one of those time zones (or if you could set your computer to one of those time zones), you could first use the function I provided to get one of them, then simply add/subtract one or more hours to get the local times in the other zones.
I don't know if that would be simpler for you.
dhirata
1 year agoFrequent Visitor
Ah, I see. Yes, I think that would be simpler! Thank you so much.