A Unix timestamp counts the seconds elapsed since 00:00:00 UTC on 1 January 1970, ignoring leap seconds. APIs, databases and log files store times this way because it is a single integer that sorts correctly and avoids time zone ambiguity.
Some systems use milliseconds instead, which gives thirteen digits for present-day dates where seconds would have ten. The converter detects which unit you entered from the number of digits, so you do not need to choose one. Negative values represent dates before 1970.
Every result is shown in UTC, both as ISO 8601 and as an RFC 2822 string, so the output is the same on every machine. Convert to your local zone only at the display layer, where your application knows the user’s preference.