change times to unix epochs