Access system time

Unfortunately I don’t even have a starting position to get the ball rolling as I usually might, but I can’t find any tutorials online.

I’m looking for a way for the game to be able to access the date and time on the system the game occupies so that events can be effected by the real world time of day in an animal crossing fashion. How would I begin, or better still, are there any tutorials you can direct me to.

Thanks for your time.

I mean, local time is easy:

310639-annotation-2020-08-19-120946.jpg

But you’re really looking for multiplayer tutorials, right?

To clarify:

310661-annotation-2020-08-19-123113.jpg

This would give you hours since midnight so you could base a night / day system on that.