In my application there feature of recording video, I want to add time and date details on the recorded video.
Simply i can add while it running within the app but what
The sample you linked shows you how to get 90% of the way. The last step is to look at the docs for AVVideoCompositionCoreAnimationTool. This class allows you to add any core animation to a video. How you do this is by adding the animation to CALayer.
If you use a CATextLayer you can animate the string property.