티스토리 뷰
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' 카테고리의 다른 글
Django 시작 프로그램? (0) | 2019.08.27 |
---|---|
직렬화와 역직렬화 관리 (0) | 2019.08.23 |
REST API 이용하기 (0) | 2019.07.22 |
REST API 구현하기 (0) | 2019.07.22 |
queryset (0) | 2019.07.15 |
최근에 올라온 글
글 보관함