added timestamp.py from a gist