When I run time.mktime(datetime.strptime("2012-03-09", "%Y-%m-%d").timetuple())
I get the value 1331251200.0.
Now I want to know how can I invert this? So if I pass in 1331251200.0, how do I get as output 2012-03-09? I know strftime is the inverse of strptime, but I don't see how to invert the whole thing because of the timetable function.
