Choose seconds or milliseconds before you convert a number. A 10-digit value is usually seconds. A 13-digit value is usually milliseconds. The page does not guess, because guessing turns a seconds value into a date in the far future.
The other direction reads a UTC time such as 2026-01-15T17:00:00Z. There is no time zone on this form. Convert a zoned clock on the time zone page first if the source clock is not UTC.