Time Code Display

Hi does anyone know how to display the time code from daw in your OSC set up? Does anyone have the code for that?
Thanks