With out-of-the-box software, the N900 can automatically set its clock via information from the cell provider, like most (all?) phones.
Network time protocol daemon (ntpd) is separate download from Extras/Extras-testing (I haven't checked which), but should be an easy one. It was always install-and-go on previous Maemo devices, and I don't expect that's changed with Maemo 5.