Time zones | Django documentation | Django
docs.djangoproject.com › en › 4When time zone support is disabled, Django uses naive datetime objects in local This is sufficient for many use cases. current time, you would write: importdatetimenow=datetime.datetime.now() When time zone support is enabled (USE_TZ=True), Django uses time-zone-aware datetime objects. If your code creates datetime objects, they