Convert Unix timestamps to human-readable dates and back — supports seconds and milliseconds with auto-detection.