Function for Day of Month

Post » Wed Sep 10, 2014 12:55 pm

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.

User avatar
Daniel Holgate
 
Posts: 3538
Joined: Tue May 29, 2007 1:02 am

Return to V - Skyrim