Dolla Tek DS3231

Have you looked at any of the examples in the IDE ?
There is one with the very obvious name of Button

I am not clear whether you have got the DS3231 working and displaying values. If you have then please post the code but read this first How to get the best out of this forum and follow the advice