If statement moved into StripMiliseconds method