Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python current utc offset

from datetime import datetime
from dateutil.tz import tzlocal
utc = "+" + str(datetime.now(tzlocal()).utcoffset())
 
PREVIOUS NEXT
Tagged: #python #current #utc #offset
ADD COMMENT
Topic
Name
9+6 =