Answers for "timezone.now in django"

1

how to set indian timezone in django

#Tested it's working modify into settings.py file
TIME_ZONE = 'Asia/Kolkata'
Posted by: Guest on June-21-2021
-1

django timezone settings

Here is the list of valid timezones:

http://en.wikipedia.org/wiki/List_of_tz_database_time_zones

You can use

TIME_ZONE = 'Europe/Istanbul'
for UTC+02:00
Posted by: Guest on March-08-2021

Python Answers by Framework

Browse Popular Code Answers by Language