Unix time counts the seconds elapsed since 00:00:00 UTC on 1 January 1970, ignoring leap seconds. Negative values are valid and point at dates before 1970.
Auto-detect reads values under 1011 as seconds, under 1014 as milliseconds, under 1017 as microseconds, and anything larger as nanoseconds. A fraction after a dot or comma (1700000000.123) is kept to the nanosecond, and a unit suffix such as ms or ns overrides detection.
It also accepts hexadecimal (0x6553f100), scientific notation (1.7e9), grouped digits (1,700,000,000), .NET /Date(…)/ values, MongoDB ObjectIds and UUID v1, v6 and v7. Windows FILETIME, .NET ticks, Apple Cocoa time and Excel serial dates are in the unit list.