pip datetime code example Example: pip install datetime from DateTime import DateTime e = DateTime('US/Eastern') e.timezone() 'US/Eastern'