How to get window time from javescript?

I think to make some sales data management program with unity. It is not game.

So I need calendar function.

And I need to let unity knows window’s time (our real world’s time) and do calculate something like monthly sales volume calculation.

  1. How to make know window time?
  2. Is there good example to make calendar with unity?

Thanks.

System.DateTime.Now will get you the current system time.

Don’t know about calendars in Unity.

(Also, is this something you want in Unity with its 3D base, or would you be better off using something more like Silverlight which is more designed for RIA applications like that?)

Hi.
Yes this can be done very well with just PHP. But I know well about unity more than that or other languages. Silverlight? I must check it too.

And where can I find that System. method? I can’t see those at script reference docus. I want to see more about System.DateTime and others.

The System.DateTime .net structure is available to use:

Much thanks!