I want to save the present date in database, but my Django server starting 13 hours earlier than the present time. Due to this the time is also changing when I use the following:
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
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.