return nil if no timestamp data provided.