Convert between Unix timestamp (seconds or milliseconds) and human-readable date/time in UTC and local.