Lines Matching refs:timetuple
617 :meth:`timetuple` attribute. This hook gives other kinds of date objects a
640 .. method:: date.timetuple()
646 ``d.timetuple()`` is equivalent to::
724 time.ctime(time.mktime(d.timetuple()))
790 >>> t = d.timetuple()
1192 :meth:`timetuple` attribute. This hook gives other kinds of date objects a
1309 .. method:: datetime.timetuple()
1313 ``d.timetuple()`` is equivalent to::
1331 ``d.timetuple()`` except that :attr:`tm_isdst` is forced to 0 regardless of what
1348 you can use :meth:`.datetime.timetuple`.
1499 time.ctime(time.mktime(d.timetuple()))
1546 >>> # Using datetime.timetuple() to get tuple of all attributes
1547 >>> tt = dt.timetuple()
1589 elif (1945, 1, 1, 0, 0) <= dt.timetuple()[:5] < (1945, 1, 1, 0, 30):
1992 separately. For example, :meth:`datetime.timetuple` calls its :attr:`~.datetime.tzinfo`
2446 ``time.strftime(fmt, d.timetuple())`` although not all objects support a
2447 :meth:`timetuple` method.