i extracted tweets from twitter and then i imported the json files into elasticsearch using kibana. I have this field called created_at that has this format Wed Jan 30 18:12:02 +0000 2019 and i have not date field. i tried using scripted fields to parse it into a date by using :
new SimpleDateFormat('MMM D HH:mm:ss ZZ YYYY').parse(doc['created_at'].value.substring(4)).getTime()
and i get a result of December 30th 2018, 18:12:02.000
its giving December instead of January and 2018 instead of 2019