<?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: converting to unix timestamp for mysql in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/converting-to-unix-timestamp-for-mysql/m-p/2196228#M480</link>
    <description>Hello 
&lt;BR /&gt;Set the data type as String for this column, then parse a string to a date. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt; shong 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCdD.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151614i3741B32E3427744F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCdD.png" alt="0683p000009MCdD.png" /&gt;&lt;/span&gt;</description>
    <pubDate>Tue, 05 Aug 2008 02:40:59 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2008-08-05T02:40:59Z</dc:date>
    <item>
      <title>converting to unix timestamp for mysql</title>
      <link>https://community.qlik.com/t5/Talend-Studio/converting-to-unix-timestamp-for-mysql/m-p/2196227#M479</link>
      <description>in a tmap i have to convert something like "02.08.08" into a unix timestamp to store it in a mysql database. can anybody give me a hint how to do that? i am quite new to java.&lt;BR /&gt;many thanks...</description>
      <pubDate>Sat, 16 Nov 2024 14:16:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/converting-to-unix-timestamp-for-mysql/m-p/2196227#M479</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T14:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: converting to unix timestamp for mysql</title>
      <link>https://community.qlik.com/t5/Talend-Studio/converting-to-unix-timestamp-for-mysql/m-p/2196228#M480</link>
      <description>Hello 
&lt;BR /&gt;Set the data type as String for this column, then parse a string to a date. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt; shong 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCdD.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151614i3741B32E3427744F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCdD.png" alt="0683p000009MCdD.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Tue, 05 Aug 2008 02:40:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/converting-to-unix-timestamp-for-mysql/m-p/2196228#M480</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-08-05T02:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: converting to unix timestamp for mysql</title>
      <link>https://community.qlik.com/t5/Talend-Studio/converting-to-unix-timestamp-for-mysql/m-p/2196229#M481</link>
      <description>thanks but it does not give the right result:
&lt;BR /&gt;i have : 
&lt;BR /&gt;02.08.2008 (string)
&lt;BR /&gt;and i need to store:
&lt;BR /&gt;1217635200 (long)
&lt;BR /&gt;this is the result of:
&lt;BR /&gt;long epoch = new java.text.SimpleDateFormat ("dd/MM/yyyy HH:mm:ss").parse("01/01/1970 01:00:00");
&lt;BR /&gt;but i cannot use this expression in tmap as expression
&lt;BR /&gt;any idea?
&lt;BR /&gt;regards 
&lt;BR /&gt;....</description>
      <pubDate>Tue, 05 Aug 2008 10:54:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/converting-to-unix-timestamp-for-mysql/m-p/2196229#M481</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-08-05T10:54:09Z</dc:date>
    </item>
    <item>
      <title>Re: converting to unix timestamp for mysql</title>
      <link>https://community.qlik.com/t5/Talend-Studio/converting-to-unix-timestamp-for-mysql/m-p/2196230#M482</link>
      <description>Hello 
&lt;BR /&gt;On tMap, try 
&lt;BR /&gt; 
&lt;PRE&gt;(TalendDate.parseDate("dd.MM.yyyy",row1.date)).getTime()&lt;/PRE&gt; 
&lt;BR /&gt;Best regards 
&lt;BR /&gt; 
&lt;BR /&gt; shong 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCod.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/141353i436DDFB518FF3077/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCod.png" alt="0683p000009MCod.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Wed, 06 Aug 2008 04:08:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/converting-to-unix-timestamp-for-mysql/m-p/2196230#M482</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-08-06T04:08:04Z</dc:date>
    </item>
  </channel>
</rss>

