Timestamp error index

Timestamp Troubleshooting

Diagnose Unix and ISO timestamp mistakes involving seconds versus milliseconds, time zones, offsets, invalid dates, precision, and numeric formats.

Diagnostic workflow

How to troubleshoot Timestamp problems

Timestamp bugs are usually unit or timezone bugs rather than arithmetic bugs. Identify the input format, magnitude, and offset before converting it, then compare the resulting instant in UTC so local display settings do not hide a seconds-versus-milliseconds or offset mistake.

  • Use the digit count and numeric magnitude to distinguish Unix seconds from milliseconds before applying any date conversion.
  • Require an explicit timezone or offset for date-time text whenever the source contract is supposed to describe one unambiguous instant.
  • Check fractional precision, negative values, scientific notation, leap-day validity, and unusual offsets only after the base unit and timezone are confirmed.

Browse focused fixes

Common Timestamp problems

24 troubleshooting pages

Understand the underlying concepts

1 related guides