Background for Skyrim SE
Member of the Game script
floatfunctionGetRealHoursPassed()NativeGlobal

Description

Wiki Description

Returns the number of real-life hours the player has been playing.

Documentation Comment

Returns the number of days spent in play


Caveats

CK Wiki - Notes

  • Return value is the total real-life hours the player has been playing since the creation of the character. If your save file says 400 hours, that's what this function will return.

Examples

Debug.Trace("You've been playing for " + Game.GetRealHoursPassed() + " hours!")

Auto-Generated Example

float returnedValue = Game.GetRealHoursPassed()

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.