Home | History | Annotate | Download | only in python2.7

Lines Matching refs:date

64 which parses a Date-like field and returns a time-compatible tuple,
356 """Retrieve a date field from a header.
358 Retrieves a date field from the named header, returning a tuple
368 """Retrieve a date field from a header as a 10-tuple.
827 # Parse a date field
851 """Convert a date string to a time tuple.
866 if len(data) == 3: # RFC 850 date, deprecated
986 print 'Date:', m.getheader('date')
987 date = m.getdate_tz('date')
988 tz = date[-1]
989 date = time.localtime(mktime_tz(date))
990 if date:
991 print 'ParsedDate:', time.asctime(date
1007 if 'Date' in m: print 'Date =', m['Date']