<?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: Get hours in 24h from date in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Get-hours-in-24h-from-date/m-p/2370053#M133143</link>
    <description>Hi,&lt;BR /&gt;Try to replace "hh" by "HH"'&lt;BR /&gt;Integer.parseInt(routines.TalendDate.formatDate("HH",row2.date_heure))</description>
    <pubDate>Tue, 19 Dec 2017 21:02:48 GMT</pubDate>
    <dc:creator>TRF</dc:creator>
    <dc:date>2017-12-19T21:02:48Z</dc:date>
    <item>
      <title>Get hours in 24h from date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Get-hours-in-24h-from-date/m-p/2370052#M133142</link>
      <description>&lt;P&gt;Dear experts,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would get hours from a date with is in this format :&amp;nbsp;'2016-01-02 16:20:25.693'&lt;/P&gt;&lt;P&gt;In my case it's return 4 insted of 16.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my tmap I've written for my field Heure&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Integer.parseInt(routines.TalendDate.formatDate("hh",row2.date_heure))&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;input &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;name : date_heure&lt;/P&gt;&lt;P&gt;format : date&lt;/P&gt;&lt;P&gt;values :&amp;nbsp;&lt;SPAN&gt;2016-01-02 16:20:25.693&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;output&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;name : heure&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;format : integer&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;values desired : 16&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you for your help. Best regards.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Dec 2017 14:06:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Get-hours-in-24h-from-date/m-p/2370052#M133142</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-19T14:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: Get hours in 24h from date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Get-hours-in-24h-from-date/m-p/2370053#M133143</link>
      <description>Hi,&lt;BR /&gt;Try to replace "hh" by "HH"'&lt;BR /&gt;Integer.parseInt(routines.TalendDate.formatDate("HH",row2.date_heure))</description>
      <pubDate>Tue, 19 Dec 2017 21:02:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Get-hours-in-24h-from-date/m-p/2370053#M133143</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-12-19T21:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: Get hours in 24h from date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Get-hours-in-24h-from-date/m-p/2370054#M133144</link>
      <description>&lt;P&gt;Dear TRF, thank you for your help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Perfect, it's works !&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Dec 2017 09:27:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Get-hours-in-24h-from-date/m-p/2370054#M133144</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-20T09:27:23Z</dc:date>
    </item>
  </channel>
</rss>

