My server is in London.
In my settings.py I have:
settings.py
TIME_ZONE = \'Europe/Moscow\' USE_TZ = True
But when I do this:
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.