Parsing of mysql timestamps

I will try to ping @quinnj to have a look at it.