Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

change django time zone

timezones = pytz.all_timezones

print(timezones)
OUTPUT
['Africa/Abidjan', 'Africa/Accra', 'Africa/Addis ... 'Universal', 'W-SU', 'WET', 'Zulu']
TIME_ZONE = "Africa/Abidjan"

print(TIME_ZONE)
OUTPUT
Africa/Abidjan
Source by www.adamsmith.haus #
 
PREVIOUS NEXT
Tagged: #change #django #time #zone
ADD COMMENT
Topic
Name
3+8 =