__localtime__
- :
tm_struct =__localtime__(seconds)¶ Split the epoch time seconds into its calendar components expressed in the system’s local time zone.
The returned structure carries the same fields as the one from
gmtime, withgmtoffandzonedescribing the local zone andisdstflagging whether daylight-saving time applies.