Django
Django Utils
nickas
2019. 8. 23. 12:43
django.utils.timezone
utc
tzinfo instance that represents UTC
make_aware(value, timezone=None, is_dst=None)
Returns an aware datetime that represents the same point in time as value in timezone, value being a naive datetime. If timezone is set to None, it defaults to the current time zone.
get_current_timezone()
Returns a tzinfo instance that represents the current time zone.
https://docs.djangoproject.com/ko/2.2/ref/utils/#module-django.utils.timezone
Django Utils | Django 문서 | Django
Django The web framework for perfectionists with deadlines.
docs.djangoproject.com