Forum Discussion

sanimesa's avatar
sanimesa
Post Prodigy
8 years ago

Time zone question

I am trying to add a last refresh date and using the solution suggested here: 

https://www.fourmoo.com/2017/03/28/power-bi-create-last-dataset-refresh-date/

 

However, the refresh time shown on the service is always the UTC time, no matter what I set the switchzone parameter to:

TodaysDate = DateTime.From(DateTimeZone.SwitchZone(DateTimeZone.FixedLocalNow(),-6)),

 

On the desktop (EST), it always shows the EST time. 

 

Is this expected behavior? 

2 Replies