Fixed many links. |
m YoshBot moved page ProtoFlux:UTC Now to ProtoFlux:UTCNow: Automated: removing spaces from ProtoFlux namespace |
||
(One intermediate revision by one other user not shown) | |||
Line 31: | Line 31: | ||
[[Category:ProtoFlux:Time]] | [[Category:ProtoFlux:Time]] | ||
[[Category:ContinuouslyChanging nodes]] |
Latest revision as of 00:38, 21 August 2025
Utc Now
Time
Returns the current time in UTC.
Each evaluation triggers an individual call to DateTime.UtcNow. This means that within a single Impulse it can be evaluated with different values.
This can be used to measure the runtime of impulse based ProtoFlux to sub-millisecond precision.
Since UTC is independent of the local user's timezone it should return approximately the same value on every user.
Outputs
* (DateTime)
The current time in UTC
Examples
-
An example code that also demonstrates how to measure runtime of a ProtoFlux loop.