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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
moonlit337
Helper III
Helper III

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
Super User
Super User

Hi @moonlit337 

 

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. 

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

Top Solution Authors
Top Kudoed Authors