March 2003
Intermediate to advanced
656 pages
39h 30m
English
strptime
strptime(str,fmt='%a %b %d %H:%M:%S %Y')
Parses str according to format string
fmt, and returns the instant in time-tuple
format. With Python 2.2 and earlier, strptime is
not available on all platforms. However, a pure Python implementation
is available at http://aspn.activestate.com/ASPN/Python/Cookbook/Recipe/56036.
In Python 2.3, the pure Python implementation will be used as a
fallback on platforms that provide no other, so that
time.strptime will always be available.