SMPTE Time Code

Has anyone written some code to read SMPTE Time Code??