I'm always up for crazy ideas (as long as they don't take a ridiculous amount of time to code).
My time-system internaly runs on a 1/10 of a second counter, i can give access to that counter, depending on the speed setting of your daynight system you could calcute the minutes and seconds from that counter.
More then 24 hours will not be a problem either.
Ps.
The moon doesn't realy blink to black. Yes the sky is always black on the moon (watch the apollo mision photo's) but when the sun goes down the moons horizon, the lights dims over the minutes it takes to go from full sun to no sun.. i wouldn't call that a blink. One day on the moon lasts 28 earth days, 14 in the light, 14 in the night 😉
I looked though the code and realised the flashlight can already be turned on and off with the script, just add the triggernumber to the end of the tag.
On the NPC walking around use tag 'Flashlight 10 14 #888888 1'
Then call Plugin command 'Light on 1' to turn his flashlight on (selfswitch D gets thrown on the NPC).