Lines Matching refs:timetuple
533 :meth:`timetuple` attribute. This hook gives other kinds of date objects a
551 .. method:: date.timetuple()
554 The hours, minutes and seconds are 0, and the DST flag is -1. ``d.timetuple()``
616 ``time.ctime(time.mktime(d.timetuple()))`` on platforms where the native C
664 >>> t = d.timetuple()
1007 :meth:`timetuple` attribute. This hook gives other kinds of date objects a
1127 .. method:: datetime.timetuple()
1130 ``d.timetuple()`` is equivalent to ``time.struct_time((d.year, d.month, d.day,
1143 ``d.timetuple()`` except that :attr:`tm_isdst` is forced to 0 regardless of what
1279 equivalent to ``time.ctime(time.mktime(d.timetuple()))`` on platforms where the
1319 >>> # Using datetime.timetuple() to get tuple of all attributes
1320 >>> tt = dt.timetuple()
1730 separately. For example, :meth:`datetime.timetuple` calls its :attr:`~.datetime.tzinfo`
2014 acts like the :mod:`time` module's ``time.strftime(fmt, d.timetuple())``
2015 although not all objects support a :meth:`timetuple` method.