Background for Skyrim SE
Member of the Utility script
floatfunctionGetCurrentRealTime()NativeGlobal

Description

Wiki Description

Gets the number of real-world seconds that have elapsed since the game has launched. This time does not count time the game has been alt-tabbed, or other cases where the game has been frozen (i.e. during a save or load, time in a menu is counted). This function is most useful for timing a long operation.

Documentation Comment

Obtains the number of seconds since the application started (the same timer that WaitMenuMode uses)
Does not take into account menu-mode, or VM frozen time
Most useful for determining how long something took to run


Examples

No human-generated examples found for this function.

Auto-Generated Example

float returnedValue = Utility.GetCurrentRealTime()

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.