Move Unix timestamp functions into own module.