float Function GetCurrentHourOfDay() float Time = Utility.GetCurrentGameTime() Time -= Math.Floor(Time) ; Remove "previous in-game days passed" bit Time *= 24 ; Convert from fraction of a day to number of hours Return Time EndFunction
Hi,
I found in the ckit a function to get the current hour of the day. But I need a function to output the current day of the month. Or days since game started. Any help appreciated. Here is the function from the creationkit site.