hack to get seconds past epoch