Is it possible to construct a Python date using only standard libs with a http string timestamp -
this question has answer here:
i have string timestamps this:
"wed, 31 jul 2013 13:03:38 gmt"
i couldn't see in python docs might have missed it.
or if not, assume parsing of string - because has set format. pointers on how started helpful.
the dates rfc 822 compliant.
yes! need use strptime()
import time time.strptime("30 nov 00", "%d %b %y")
here link documentation:
Comments
Post a Comment