Return a tuple of the datetime attributes.
d.timetuple() is equivalent to (d.year, d.month, d.day, d.hour, d.minute, d.second, d.dayofwk, d.dayofyr, -1).
Returns : |
|
---|
Examples
>>> d = cf.Datetime(2005, 6, 7, 23, 45, 57)
>>> d.timetuple()
(2005, 6, 7, 23, 45, 57, -1, 1, -1)