it would tickle me to death if there were some relevant API functions for in game time. Not real time, but the in game Day / Night cycle time.
It would be very conducive to roleplay and not very hard to implement. This would benefit lore friendly clocks and calendars.
A couple suggestions:
(function for an in game seconds counter that wraps at the end of each in game day)
GetDayCycleSeconds() [returns int]
-Starts at 0 [ingame midnight] and increments until the end of the day.
-The Seconds would be real time seconds.
(function that reveals the number of in game days that has progressed since the game's release)
GetGameDays() [returns int]
-Starts at 0 for the 1st in game day and increments by 1 at the start of each cycle.
(function that returns an integer that corresponds with the current in game moon phase - not necessary if GetGameDays() is used)
GetMoonPhase() [returns short or int]
-Starts at 0 for New Moon, ends before the next New Moon.
It would also be nice to have some constants or documentation relating to the Maximum value of each.