Get current time from computer

hi friends

i just searching in forum and manual , i cant able to found the way for how to get the current time from the system , when the player run’s the game…

and help to bring up the day night cycle in game according to client time

Thanks in advance

Arun

This should work

Not sure about a JS version though.

Oh, and here … http://forum.unity3d.com/threads/39278-How-to-get-system-time?p=251835#post251835

.NET is a library of functions, so there are no JS or C# versions, any more than the Unity functions are tied to a specific language.

–Eric

Sorry Eric - I meant unity function.

Thanks for the clarification though :slight_smile: