Using DS3231 for sensing temperature and reading time at the same time

hi i have a problem, i dont know if i can sense the temperature and reading time with ds3231 at the same time. I merged the sketches but im not sure if i did it right.

If you don't show what you did, how can we possibly know if you did it right.

In case you think that it's a good idea to post your code, please read (in case you haven't done so yet) https://forum.arduino.cc/index.php?topic=148850.0, specifically point #7 about posting code using code tags.