They’re set at the factory, I think.  And there’s a battery inside to keep the clock running, but the on-board clock isn’t terribly accurate and re-syncs every time it boots up.
You really need to put it on the network once in a while, because if the time drifts too far, it will not resync again.