One Star

Converting Times Between Time Zones

Hi,
I use Talend date function to try to convert EST timezone to UTC timezone, for example:
TalendDate.parseDate("yyyy-MM-dd HH:mm:ss",TalendDate.formatDateLocale("yyyy-MM-dd HH:mm:ss",new Date(),"GMT"))
But it doesn't work. Is there any function Talend supports? or I have to create a component by myself?
Thanks,
2 REPLIES
Community Manager

Re: Converting Times Between Time Zones

Hello
It can be implemented in Talend, you can write your routine to convert it, set 'date' as keyword to search related topics.
If you still have any problem, feel free to post here.
Best regards

shong
----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: Converting Times Between Time Zones

Hi, shong:
I found this useful link: (http://www.talendforge.org/forum/viewtopic.php?id=4025) but I don't how to create my "routine" for conversion. Is there a tRoute component? or how to create it?
Thanks,
Vincent