DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
2+6 =
Submit