Shiva Shiva - 25 days ago 7x
Python Question

How to change my django server time

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:

I am using Python 2.7.5 with Django 1.5.4.
How can I display my present system date with


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

Check for a list of valid time zones.