//SUNRISEFRACTION 0.010000 (or 0.00000000 i guess)//NOONFRACTION 0.250000//SUNSETFRACTION 0.500000//MIDNIGHTFRACTION 0.750000
Beware about the add-on Spartan linked. It's known to break stuff, from other peoples posts about it.
Add-ons conflict it, but that shouldn't happen on the first place.I'm planning to use daylight/nighttime events for my CityRPG, but I feel like I should make my own and use the known coding resources for daylight times.