<?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 get current date as date datatype in desired date format? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-get-current-date-as-date-datatype-in-desired-date-format/m-p/2360726#M125255</link>
    <description>You're welcome</description>
    <pubDate>Fri, 08 Dec 2017 14:17:41 GMT</pubDate>
    <dc:creator>TRF</dc:creator>
    <dc:date>2017-12-08T14:17:41Z</dc:date>
    <item>
      <title>How to get current date as date datatype in desired date format?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-get-current-date-as-date-datatype-in-desired-date-format/m-p/2360721#M125250</link>
      <description>&lt;P&gt;I have tried the below and this is printing Jan 1 2017.&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;System.out.println(TalendDate.parseDate(&lt;/FONT&gt;&lt;FONT color="#2a00ff" size="2"&gt;"MM/DD/YYYY HH:mm:ss"&lt;/FONT&gt;&lt;FONT size="2"&gt;, TalendDate.getDate(&lt;/FONT&gt;&lt;FONT color="#2a00ff" size="2"&gt;"MM/DD/CCYY HH:mm:ss"&lt;/FONT&gt;&lt;FONT size="2"&gt;)));&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;TalendDate.getDate(&lt;FONT color="#2a00ff" size="2"&gt;"MM/DD/CCYY HH:mm:ss"&lt;/FONT&gt;) - This part is giving current date time in given format and I need this string as date data type. When I use parsedate, it is printing 1/1/2017.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2017 11:49:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-get-current-date-as-date-datatype-in-desired-date-format/m-p/2360721#M125250</guid>
      <dc:creator>su66</dc:creator>
      <dc:date>2017-12-08T11:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to get current date as date datatype in desired date format?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-get-current-date-as-date-datatype-in-desired-date-format/m-p/2360722#M125251</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;A Date is a Date, a formated Date is a date represented by a String.&lt;/P&gt; 
&lt;P&gt;Can you explain a little more what's expectation?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;System.out.println(TalendDate.formatDate("MM/dd/yyyy HH:mm:ss",TalendDate.getCurrentDate()));&lt;/PRE&gt; 
&lt;P&gt;Result (based on Europe/Paris TZ current datetime &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt; 
&lt;PRE&gt;12/08/2017 14:45:47&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2017 13:52:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-get-current-date-as-date-datatype-in-desired-date-format/m-p/2360722#M125251</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-12-08T13:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to get current date as date datatype in desired date format?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-get-current-date-as-date-datatype-in-desired-date-format/m-p/2360723#M125252</link>
      <description>&lt;P&gt;Hi, Thanks for your response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The formatted date that's a string need to be loaded to a database table where the filed datatype is date. So, the formatted date as a string is unable to get into the date field of the table.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2017 13:54:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-get-current-date-as-date-datatype-in-desired-date-format/m-p/2360723#M125252</guid>
      <dc:creator>su66</dc:creator>
      <dc:date>2017-12-08T13:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to get current date as date datatype in desired date format?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-get-current-date-as-date-datatype-in-desired-date-format/m-p/2360724#M125253</link>
      <description>Depends on the target database system.&lt;BR /&gt;For example, Salesforce allow you to push datetime as string.&lt;BR /&gt;Did you tried to populate the target field with "TalendDate.getCurrentDate()" which returns the current datetime as a date datatype?</description>
      <pubDate>Fri, 08 Dec 2017 14:02:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-get-current-date-as-date-datatype-in-desired-date-format/m-p/2360724#M125253</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-12-08T14:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to get current date as date datatype in desired date format?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-get-current-date-as-date-datatype-in-desired-date-format/m-p/2360725#M125254</link>
      <description>&lt;P&gt;Yes, I tried loading that directly. Because it prints time zone in it, I had invalid character issues. I will format this at the database end. Thank you &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2017 14:06:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-get-current-date-as-date-datatype-in-desired-date-format/m-p/2360725#M125254</guid>
      <dc:creator>su66</dc:creator>
      <dc:date>2017-12-08T14:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to get current date as date datatype in desired date format?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-get-current-date-as-date-datatype-in-desired-date-format/m-p/2360726#M125255</link>
      <description>You're welcome</description>
      <pubDate>Fri, 08 Dec 2017 14:17:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-get-current-date-as-date-datatype-in-desired-date-format/m-p/2360726#M125255</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-12-08T14:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to get current date as date datatype in desired date format?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-get-current-date-as-date-datatype-in-desired-date-format/m-p/2360727#M125256</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;the above syntax&amp;nbsp;TalendDate.formatDate("yyyyMMddHHmmss",TalendDate.getCurrentDate()) with the hours,&lt;BR /&gt;I used on my job,where there is a shift of 2 hours.For example by using the above syntax, when I insert a line in a table at 20/09/2019 8h00,but in my table the I see the line is inserted at&amp;nbsp;20/09/2019 6h00.&lt;/P&gt;&lt;P&gt;I don't why its happeneing .&lt;/P&gt;&lt;P&gt;Could someone tell me the reason or propose other syntax please?&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2019 10:49:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-get-current-date-as-date-datatype-in-desired-date-format/m-p/2360727#M125256</guid>
      <dc:creator>Manoj_MUTHURAJA</dc:creator>
      <dc:date>2019-09-20T10:49:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to get current date as date datatype in desired date format?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-get-current-date-as-date-datatype-in-desired-date-format/m-p/2360728#M125257</link>
      <description>&lt;P&gt;Hi TRF.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I want to charge this value in a variable for a properties file. How can I do that with Talend?&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2019 13:01:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-get-current-date-as-date-datatype-in-desired-date-format/m-p/2360728#M125257</guid>
      <dc:creator>roalro</dc:creator>
      <dc:date>2019-09-24T13:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to get current date as date datatype in desired date format?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-get-current-date-as-date-datatype-in-desired-date-format/m-p/2360729#M125258</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;You can use the composant tfixedflowinput and you create a column for example col1 and give value as TalendDate.getDate("yyyyMMdd") and tmaps is not compulsory to use it and to charge in your properties file,it depends on what kind of file format you will use it.It can be in txt,csv or dat etc.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2019 15:53:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-get-current-date-as-date-datatype-in-desired-date-format/m-p/2360729#M125258</guid>
      <dc:creator>Manoj_MUTHURAJA</dc:creator>
      <dc:date>2019-09-25T15:53:14Z</dc:date>
    </item>
  </channel>
</rss>

