Seconds, minutes , hours, frames

Hello,

Would be possible to create one script in python that in it informs the frames to them, the second etc?

Here is a exemple in Blendernation: http://www.blendernation.com/2006/10/17/frametime-counter-display-tool/