The in-game clock in Pokémon Sapphire is a display-only UI element, not an interactive object. It cannot be "repaired."
If the time display is frozen/incorrect, it's likely a dead internal battery (CR1616/CR2025 in cartridge) which halts time-based events (berries, tides, daily events). Replacing the battery restores function—but requires opening the cartridge and soldering.
No in-game mechanic fixes this.