Re: Convert tweet time to different date/time format

2016-06-29 Thread Igor Kravzov
Thanks you very much.

On Wed, Jun 29, 2016 at 3:45 PM, Mark Payne  wrote:

> Igor,
>
> You can use the toDate() and format() functions:
>
> ${tweetTimestamp:toDate('EEE MMM dd HH:mm:ss Z '):format('-MM-dd
> HH:mm:ss')}
>
> Thanks
> -Mark
>
>
>
> On Jun 29, 2016, at 3:37 PM, Igor Kravzov  wrote:
>
> How can I convert tweet date/time stamp in format "Wed Jun 29 19:04:20
> + 2016" to this format "2016-06-29 15:04:41" using date functions?
>
> Thanks in advance.
>
>
>


Re: Convert tweet time to different date/time format

2016-06-29 Thread Mark Payne
Igor,

You can use the toDate() and format() functions:

${tweetTimestamp:toDate('EEE MMM dd HH:mm:ss Z '):format('-MM-dd 
HH:mm:ss')}

Thanks
-Mark



> On Jun 29, 2016, at 3:37 PM, Igor Kravzov  wrote:
> 
> How can I convert tweet date/time stamp in format "Wed Jun 29 19:04:20 + 
> 2016" to this format "2016-06-29 15:04:41" using date functions?
> 
> Thanks in advance.