When developing for iPhone, you could use the NSDate class to get the date and time. I don’t see any cocos2dx library function that allows you to do this. Will I have to delve in to the Android functions themselves? That would be disappointing because I can’t even seem to get the Android fully working.
Getting the current date and time.
I’m sorry, I think I was supposed to post this in the cocos-2dx forums.
I found this class, share it.