Lines Matching refs:timetuple
464 :meth:`timetuple` attribute. This hook gives other kinds of date objects a
482 .. method:: date.timetuple()
485 The hours, minutes and seconds are 0, and the DST flag is -1. ``d.timetuple()``
547 ``time.ctime(time.mktime(d.timetuple()))`` on platforms where the native C
593 >>> t = d.timetuple()
867 :meth:`timetuple` attribute. This hook gives other kinds of date objects a
964 .. method:: datetime.timetuple()
967 ``d.timetuple()`` is equivalent to ``time.struct_time((d.year, d.month, d.day,
980 ``d.timetuple()`` except that :attr:`tm_isdst` is forced to 0 regardless of what
1048 equivalent to ``time.ctime(time.mktime(d.timetuple()))`` on platforms where the
1086 >>> # Using datetime.timetuple() to get tuple of all attributes
1087 >>> tt = dt.timetuple()
1410 separately. For example, :meth:`datetime.timetuple` calls its :attr:`~.datetime.tzinfo`
1591 acts like the :mod:`time` module's ``time.strftime(fmt, d.timetuple())``
1592 although not all objects support a :meth:`timetuple` method.