Forum Discussion
Easy consistent Last Refresh Time (your local time zone) solution - no matter how refreshed
- 10 years ago
Thanks for your sharing. That's a awesome idea to indicate a precise refresh time. :)
Just some tips, no need to import the web as a source, the Power Query,also known as "M", has a "DateTimeZone.UtcNow()", you can get UTC time with that function and tweak different timezones based on UTC.
Excellent. Thanks.
Question though - let's say I want the timestamp value to always reflect the timezone of the user who is generating the report. Is there a way to set that up using M? That would go one step beyond the current solution we have on the table.
Brian
Add a custom column in Query Editor. The 8 refers to timezone offset, it always shows the local time of +08:00 timezone.
DateTimeZone.UtcNow()+#duration(0, 8, 0, 0)
If it can achieve your goal, please accept it as solution.:) For any question, feel free to let me now.