How to convert string to date in logstash

I want to convert my string field into date field how could i perform that in logstash coding.

You can use the date filter to parse a timestamp. Are you sending the events to Elasticsearch? If so, what really matters is the mapping in the index you're writing to.