Skip to content

Instantly share code, notes, and snippets.

View gist:7ee6ecdb716f8bb69c8555b437abef08
from dateutil import tz
tzone = tz.gettz('Europe/Paris')
utc = tz.gettz('UTC')
# Make datetime object timezone aware
datetime_local = datetime_local.replace(tzinfo=tzone)
# Do the timezone change
date_utc = datetime_local.astimezone(utc)
jbfuzier / dynamic-dns.txt
Created Jun 28, 2016 — forked from neu5ron/dynamic-dns.txt
List of Dynamic DNS
View dynamic-dns.txt
This file has been truncated, but you can view the full file.