datetime.tzinfo - pydoc - phpman

Look up a command

 

Markdown Format | JSON API | MCP Server Tool


Help on class tzinfo in datetime:

datetime.tzinfo = class tzinfo(builtins.object)
 |  Abstract base class for time zone info objects.
 |
 |  Methods defined here:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __reduce__(...)
 |      -> (cls, state)
 |
 |  dst(...)
 |      datetime -> DST offset as timedelta positive east of UTC.
 |
 |  fromutc(...)
 |      datetime in UTC -> datetime in local time.
 |
 |  tzname(...)
 |      datetime -> string name of time zone.
 |
 |  utcoffset(...)
 |      datetime -> timedelta showing offset from UTC, negative values indicating West of UTC
 |
 |  ----------------------------------------------------------------------
 |  Static methods defined here:
 |
 |  __new__(*args, **kwargs) from builtins.type
 |      Create and return a new object.  See help(type) for accurate signature.


Generated by phpMan Author: Che Dong Under GNU General Public License
2026-06-02 07:27 @216.73.216.198 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 TransitionalValid CSS!