A 10-digit Unix timestamp counts seconds since the epoch, while a 13-digit timestamp counts milliseconds, and mixing them is the most common conversion error.
Per MDN Web Docs, JavaScript's Date.now() and getTime() return milliseconds, so 1700000000000 is a valid JS value. By contrast, POSIX C functions like time() and Python's time.time() truncation, plus most SQL databases and the Bash date +%s command, operate in seconds (1700000000).
To convert between them, multiply seconds by 1,000 or divide milliseconds by 1,000.
Our converter auto-detects the unit by digit count, but when writing code you should always confirm which unit your language or API expects to avoid dates that land in 1970 or thousands of years in the future.