It is possible to change the timezone and the output format. The output format is customized using the strftime format. To get all the arguments type python timeToClipboard.py -h. $ python ...
The standard logging package in Python 2.7 does not support timezone. # In a system whose timezone is set to America/Chicago import logging logging.basicConfig(format ...
Learn how to work with date and time values using Python's datetime library, and how to avoid some of the gotchas and pitfalls of the datetime datatype. Python’s datetime library, part of its standard ...