mfogel / django-timezone-field

A Django app providing DB, form, and REST framework fields for zoneinfo and pytz timezone objects.
BSD 2-Clause "Simplified" License
397 stars 95 forks source link

How to convert timezone name to Coordinated Universal Time (UTC) #127

Closed huynd26 closed 4 months ago

huynd26 commented 6 months ago

My instance have a timezone field with the value is zoneinfo.ZoneInfo(key='Europe/Paris') , so I want to convert it to UTC+2, How do I do it ? Thanks so much !!!

mfogel commented 4 months ago

hi @huynd26 , stackoverflow would be a better place to ask this question than github.