In the settings, set the block DS3231 - record.
1. Download the program to the Arduino board.
2. Disconnect the unit.
3. Upload the program to the Arduino board with the block disabled.
Reading date and time from DS3231 module
Sample program:
Download example: file.ardublock | Open Online ArduBlock
Video: