Thanks. I converted the time first using timetosec, then used lint to uint converter. The seconds could now appear on the display.
However, I have another problem. The display is fine from numbers 1 to 9, but instead of continuing to 10, it would show asterisks again, then after maybe 5 sec, number 10 will then appear and will increment up to 19, then asterisk will be displayed, and after 5 sec again, number 20 will appear until 29th, then asterisk again, and so on...