The forum search fails me, and I’m away from my Unity machine for a while so I don’t have the Unity iPhone docs handy… so I’m going to ask a fairly novice question.
Can Unity read the date/time from an iPhone/iPod?
The forum search fails me, and I’m away from my Unity machine for a while so I don’t have the Unity iPhone docs handy… so I’m going to ask a fairly novice question.
Can Unity read the date/time from an iPhone/iPod?
This works for me on the devices (and in editor):
actualTime = System.DateTime.Now.ToString("hh:mm:ss");
date = System.DateTime.Now.ToString("MM/dd/yyyy");
month = System.DateTime.Now.get_Month();
day = System.DateTime.Now.get_Day();
year = System.DateTime.Now.get_Year();
-jdm