How do I get the current time and date of the operating system (the one in the clock). I tried to use datetime.now(). But it returns different value.

As suggested by mcalex I've rechecked the time and date setting and this has always been like this:
![enter image description here](https://i.stack.imgur.com/FHeWK.png)