Adding a Clock Label

Is it possible to get the time in Cocos2d-x? I want to add a label to my app that displays what time it is.