i need to make a clock using the same interger

What integer? The same as what? You question needs to be clearer before we can help you.

Please repost with sufficient information.

I hope this helps a little. Thanks for asking.