Validate timestamp values.