My server is in London.
In my settings.py
I have:
TIME_ZONE = \'Europe/Moscow\'
USE_TZ = True
But when I do this:
See question #2 in the "Usage" section of the Django docs.
>>> from django.utils import timezone
>>> timezone.localtime(timezone.now())
from django.utils import timezone
time = timezone.localtime()
It will give your local time that whatever your TIME_ZONE set to.
time = timezone.localtime(timezone.now()) # same result, but it is redundant.