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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Anonymous
Not applicable

Difference between DateTimeZone.UtcNow() and DateTimeZone.FixedUtcNow()

Hello. Can anyone help explain what are the differences between using DateTimeZone.UtcNow() and DateTimeZone.FixedUtcNow()?

The only difference in the documentation for FixedUTCNow is the following statement:

 

This value is fixed and will not change with successive calls.

 

But honestly, I don't understand what this sentence mean. Can anyone help explain with examples?

2 REPLIES 2
mlsx4
Memorable Member
Memorable Member

Hi @Anonymous 

 

I'm not pretty sure, but I think that it is related with time zones that changes between winter/summer times. I mean, fixed UTC will never work right with countries like Germany or Spain. 

Anonymous
Not applicable

Hi @mlsx4 , I don't think that is what it means though, since the statement did not say about "time", but rather about "successive calls". 

 

I think this would mean if someone refreshes the data very frequently in short interval, it will not change by the second or minute, but when I try to refresh it frequently the datetime still change each time.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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