Trying to work with timestamp with python 2.6 (<3.3)