POST getting the time right in python