In KDE you need to right click to clock and choose "Digital clock" setting. You can set even seconds if you want.
In LXDE clock is a bit more complicate to configure as it only takes text arguments. At least that was the case last time as I did that

.