New method to strip tags and format date