Gui daemon isn't aware of multihead parameters, also gui protocol doesn't support such information - currently by design it is configured via Qubes RPC service. At GUI startup send monitor layout to the VM.
Now it is 'import datetime', not 'from datetime import datetime', so use explicit datetime class from datetime module.