Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python set timezone of datetime.now

my_date = datetime.datetime.now(pytz.timezone('US/Pacific'))
Source by www.codegrepper.com #
 
PREVIOUS NEXT
Tagged: #python #set #timezone
ADD COMMENT
Topic
Name
2+6 =