Convert Unix timestamps in seconds or milliseconds to readable dates, and convert dates back to epoch time.