<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to change the Talend current date in PST timeZone ? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-change-the-Talend-current-date-in-PST-timeZone/m-p/2253985#M37135</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LQWxAAO"&gt;@aagnihot&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Use a tJava and set your local timezone before your date transformation.&lt;/P&gt;
&lt;P&gt;- Go to tjava 'advanced Setting' and import the TimeZone library :&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;import java.util.TimeZone;&lt;/PRE&gt;
&lt;P&gt;- Go back to 'basic settings' =&amp;gt; Set the timeZone you wish and use the&amp;nbsp;TalendDate.formatDate function :&lt;/P&gt;
&lt;PRE&gt;TimeZone.setDefault(TimeZone.getTimeZone("PST"));&lt;BR /&gt;TalendDate.formatDate("yyyy-MM-dd HH:mm:ss",TalendDate.getCurrentDate());&lt;/PRE&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Pierre&lt;/P&gt;</description>
    <pubDate>Wed, 15 Jan 2020 09:49:38 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-01-15T09:49:38Z</dc:date>
    <item>
      <title>How to change the Talend current date in PST timeZone ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-change-the-Talend-current-date-in-PST-timeZone/m-p/2253984#M37134</link>
      <description>&lt;P&gt;I am able to convert it into UTC timezone, but i need to convert it into PST timezone which is 8 hours less than UTC timezone.&lt;/P&gt;&lt;P&gt;This is what i am doing as of now :-&amp;nbsp;&lt;/P&gt;&lt;P&gt;TalendDate.formatDateInUTC("yyyy-MM-dd HH:mm:ss",TalendDate.getCurrentDate())&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any immediate help would be appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:34:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-change-the-Talend-current-date-in-PST-timeZone/m-p/2253984#M37134</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T03:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the Talend current date in PST timeZone ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-change-the-Talend-current-date-in-PST-timeZone/m-p/2253985#M37135</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LQWxAAO"&gt;@aagnihot&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Use a tJava and set your local timezone before your date transformation.&lt;/P&gt;
&lt;P&gt;- Go to tjava 'advanced Setting' and import the TimeZone library :&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;import java.util.TimeZone;&lt;/PRE&gt;
&lt;P&gt;- Go back to 'basic settings' =&amp;gt; Set the timeZone you wish and use the&amp;nbsp;TalendDate.formatDate function :&lt;/P&gt;
&lt;PRE&gt;TimeZone.setDefault(TimeZone.getTimeZone("PST"));&lt;BR /&gt;TalendDate.formatDate("yyyy-MM-dd HH:mm:ss",TalendDate.getCurrentDate());&lt;/PRE&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Pierre&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2020 09:49:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-change-the-Talend-current-date-in-PST-timeZone/m-p/2253985#M37135</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-01-15T09:49:38Z</dc:date>
    </item>
  </channel>
</rss>

