How to change my django server time
LANGUAGE_CODE = 'en-us'
TIME_ZONE = 'Asia/Kolkata'
USE_I18N = True
USE_L10N = True
USE_TZ = False
this is worked for me to set india timezone
If your server date and time is wrong, try to fix that first. If they are correct, you can add a timezone value into your settings.py
:
USE_TZ = True
TIME_ZONE = 'UTC'
Check http://en.wikipedia.org/wiki/List_of_tz_database_time_zones for a list of valid time zones.