<?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: Date and Time Format With HH24 in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Date-and-Time-Format-With-HH24/m-p/2308248#M79596</link>
    <description>Hi
&lt;BR /&gt;I'm afraid you didn't create this custom routine correctly.
&lt;BR /&gt;Don't forget to import these classes on the top of your routine.
&lt;BR /&gt;import java.util.Calendar;
&lt;BR /&gt;import java.util.Date;
&lt;BR /&gt;And I have written an email and attached my custom routine.
&lt;BR /&gt;Regards,
&lt;BR /&gt;Pedro</description>
    <pubDate>Thu, 31 May 2012 03:05:31 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-05-31T03:05:31Z</dc:date>
    <item>
      <title>Date and Time Format With HH24</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Date-and-Time-Format-With-HH24/m-p/2308239#M79587</link>
      <description>Hi
&lt;BR /&gt;I have input Date coming with "18/APR/91 16:00:00" from oracle , I need to load the into Postgresql table 
&lt;BR /&gt;YEAR
&lt;BR /&gt;MONTH
&lt;BR /&gt;DATE
&lt;BR /&gt;HOUR 
&lt;BR /&gt;each have separately column, and I'm using following method. 
&lt;BR /&gt; 
&lt;BR /&gt;TalendDate.getPartOfDate("YEAR",row1.PSTART) 
&lt;BR /&gt;TalendDate.getPartOfDate("MONTH",row1.PSTART) 
&lt;BR /&gt;TalendDate.getPartOfDate("DAY_OF_MONTH",row1.PSTART) 
&lt;BR /&gt;TalendDate.getPartOfDate("HOUR",row1.PSTART) 
&lt;BR /&gt;Im getting following result 
&lt;BR /&gt;YEAR = 1991
&lt;BR /&gt;MONTH = 3
&lt;BR /&gt;DATE = 18
&lt;BR /&gt;HOUR = 4
&lt;BR /&gt;but we expecting result should be 
&lt;BR /&gt;YEAR = 1991
&lt;BR /&gt;MONTH = 4
&lt;BR /&gt;DATE = 18
&lt;BR /&gt;HOUR = 16
&lt;BR /&gt;Please let me know..
&lt;BR /&gt;Thanks
&lt;BR /&gt;Rajesh G</description>
      <pubDate>Wed, 30 May 2012 08:08:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Date-and-Time-Format-With-HH24/m-p/2308239#M79587</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-30T08:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: Date and Time Format With HH24</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Date-and-Time-Format-With-HH24/m-p/2308240#M79588</link>
      <description>Hi Rajesh
&lt;BR /&gt;The TalendDate.getPartOfDate() method calls java.util.Calendar to get return value.
&lt;BR /&gt;For MONTH, Calendar class defines the return value of January is 0 while April is 3... You have to add 1 manually.
&lt;BR /&gt;For HOUR, use 16%12.
&lt;BR /&gt;Regards,
&lt;BR /&gt;Pedro</description>
      <pubDate>Wed, 30 May 2012 08:27:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Date-and-Time-Format-With-HH24/m-p/2308240#M79588</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-30T08:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: Date and Time Format With HH24</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Date-and-Time-Format-With-HH24/m-p/2308241#M79589</link>
      <description>Thanks for Input..&lt;BR /&gt;Your mean to say I have use like this? What format can I use?&lt;BR /&gt;&lt;BR /&gt;TalendDate.getPartOfDate("HOUR",row1.PSTART) %12 &lt;BR /&gt;&lt;BR /&gt;Please let me know?&lt;BR /&gt;Thanks&lt;BR /&gt;Rajesh G</description>
      <pubDate>Wed, 30 May 2012 08:45:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Date-and-Time-Format-With-HH24/m-p/2308241#M79589</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-30T08:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: Date and Time Format With HH24</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Date-and-Time-Format-With-HH24/m-p/2308242#M79590</link>
      <description>Hi
&lt;BR /&gt;Yes. The expression is correct.
&lt;BR /&gt;Regards,
&lt;BR /&gt;Pedro</description>
      <pubDate>Wed, 30 May 2012 08:46:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Date-and-Time-Format-With-HH24/m-p/2308242#M79590</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-30T08:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: Date and Time Format With HH24</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Date-and-Time-Format-With-HH24/m-p/2308243#M79591</link>
      <description>Thanks..but Still I'm getting same result..
&lt;BR /&gt;instead of 16 again Im getting HOUR = 4 
&lt;BR /&gt;please let me know any other format?
&lt;BR /&gt;Thanks
&lt;BR /&gt;Rajesh G</description>
      <pubDate>Wed, 30 May 2012 08:51:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Date-and-Time-Format-With-HH24/m-p/2308243#M79591</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-30T08:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: Date and Time Format With HH24</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Date-and-Time-Format-With-HH24/m-p/2308244#M79592</link>
      <description>Hi Rajesh 
&lt;BR /&gt;Sorry. My fault... 
&lt;BR /&gt;You'd better modify TalendDate.getPartOfDate() method as seen bellow. 
&lt;BR /&gt; 
&lt;PRE&gt;  public static int getPartOfDate(String partName, Date date) {&lt;BR /&gt;        if (partName == null || date == null)&lt;BR /&gt;            return 0;&lt;BR /&gt;        int ret = 0;&lt;BR /&gt;        String[] fieldsName = { "YEAR", "MONTH", "HOUR", "MINUTE", "SECOND", "DAY_OF_WEEK", "DAY_OF_MONTH", "DAY_OF_YEAR",&lt;BR /&gt;                "WEEK_OF_MONTH", "DAY_OF_WEEK_IN_MONTH", "WEEK_OF_YEAR", "TIMEZONE", "HOUR OF DAY" };&lt;BR /&gt;        java.util.List&amp;lt;String&amp;gt; filedsList = java.util.Arrays.asList(fieldsName);&lt;BR /&gt;        Calendar c = Calendar.getInstance();&lt;BR /&gt;        c.setTime(date);&lt;BR /&gt;        switch (filedsList.indexOf(partName)) {&lt;BR /&gt;        case 0:&lt;BR /&gt;            ret = c.get(Calendar.YEAR);&lt;BR /&gt;            break;&lt;BR /&gt;        case 1:&lt;BR /&gt;            ret = c.get(Calendar.MONTH);&lt;BR /&gt;            break;&lt;BR /&gt;        case 2:&lt;BR /&gt;            ret = c.get(Calendar.HOUR);&lt;BR /&gt;            break;&lt;BR /&gt;        case 3:&lt;BR /&gt;            ret = c.get(Calendar.MINUTE);&lt;BR /&gt;            break;&lt;BR /&gt;        case 4:&lt;BR /&gt;            ret = c.get(Calendar.SECOND);&lt;BR /&gt;            break;&lt;BR /&gt;        case 5:&lt;BR /&gt;            ret = c.get(Calendar.DAY_OF_WEEK);&lt;BR /&gt;            break;&lt;BR /&gt;        case 6:&lt;BR /&gt;            ret = c.get(Calendar.DAY_OF_MONTH);&lt;BR /&gt;            break;&lt;BR /&gt;        case 7:&lt;BR /&gt;            ret = c.get(Calendar.DAY_OF_YEAR);&lt;BR /&gt;            break;&lt;BR /&gt;        case 8:&lt;BR /&gt;            // the ordinal number of current week in a month (it means a 'week' may be not contain 7 days)&lt;BR /&gt;            ret = c.get(Calendar.WEEK_OF_MONTH);&lt;BR /&gt;            break;&lt;BR /&gt;        case 9:&lt;BR /&gt;            // 1-7 correspond to 1, 8-14 correspond to 2,...&lt;BR /&gt;            ret = c.get(Calendar.DAY_OF_WEEK_IN_MONTH);&lt;BR /&gt;            break;&lt;BR /&gt;        case 10:&lt;BR /&gt;            ret = c.get(Calendar.WEEK_OF_YEAR);&lt;BR /&gt;            break;&lt;BR /&gt;        case 11:&lt;BR /&gt;            ret = (c.get(Calendar.ZONE_OFFSET)) / (1000 * 60 * 60);&lt;BR /&gt;            break;&lt;BR /&gt;        case 12:&lt;BR /&gt;        	ret = c.get(Calendar.HOUR_OF_DAY);&lt;BR /&gt;            break;&lt;BR /&gt;        default:&lt;BR /&gt;            break;&lt;BR /&gt;        }&lt;BR /&gt;        return ret;&lt;BR /&gt;    }&lt;/PRE&gt; 
&lt;BR /&gt;Then you can use expression TalendDate.getPartOfDate("HOUR OF DAY",row1.PSTART). 
&lt;BR /&gt;The return value is 16 this time. 
&lt;BR /&gt;Regards, 
&lt;BR /&gt;Pedro</description>
      <pubDate>Wed, 30 May 2012 09:02:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Date-and-Time-Format-With-HH24/m-p/2308244#M79592</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-30T09:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: Date and Time Format With HH24</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Date-and-Time-Format-With-HH24/m-p/2308245#M79593</link>
      <description>Thanks for your help its very helpful....
&lt;BR /&gt;for TalendDate.getPartOfDate() this is SYSTEM Routine. How should edit and modify?
&lt;BR /&gt;or Can I create my own Routine using same code?
&lt;BR /&gt;Thanks
&lt;BR /&gt;Rajesh G</description>
      <pubDate>Wed, 30 May 2012 09:17:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Date-and-Time-Format-With-HH24/m-p/2308245#M79593</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-30T09:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: Date and Time Format With HH24</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Date-and-Time-Format-With-HH24/m-p/2308246#M79594</link>
      <description>Hi Rajesh&lt;BR /&gt;Yes. You can create a custom routine using the code above.&lt;BR /&gt;Regards,&lt;BR /&gt;Pedro</description>
      <pubDate>Wed, 30 May 2012 09:19:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Date-and-Time-Format-With-HH24/m-p/2308246#M79594</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-30T09:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: Date and Time Format With HH24</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Date-and-Time-Format-With-HH24/m-p/2308247#M79595</link>
      <description>Thanks Pedro.&lt;BR /&gt;after creating custom routine and using DateFunction.getPartOfDate("HOUR_OF_DAY",row1.PSTART)&lt;BR /&gt;Im getting value instead of 16 HOUR = 0&lt;BR /&gt;If i use following method &lt;BR /&gt;DateFunction.getPartOfDate("HOUR_OF_DAY",row1.PSTART) = 0&lt;BR /&gt;DateFunction.getPartOfDate("HOUR",row1.PSTART) = 4&lt;BR /&gt;Im not sure the problem ?&lt;BR /&gt;Please let me know..</description>
      <pubDate>Thu, 31 May 2012 02:00:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Date-and-Time-Format-With-HH24/m-p/2308247#M79595</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-31T02:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: Date and Time Format With HH24</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Date-and-Time-Format-With-HH24/m-p/2308248#M79596</link>
      <description>Hi
&lt;BR /&gt;I'm afraid you didn't create this custom routine correctly.
&lt;BR /&gt;Don't forget to import these classes on the top of your routine.
&lt;BR /&gt;import java.util.Calendar;
&lt;BR /&gt;import java.util.Date;
&lt;BR /&gt;And I have written an email and attached my custom routine.
&lt;BR /&gt;Regards,
&lt;BR /&gt;Pedro</description>
      <pubDate>Thu, 31 May 2012 03:05:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Date-and-Time-Format-With-HH24/m-p/2308248#M79596</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-31T03:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: Date and Time Format With HH24</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Date-and-Time-Format-With-HH24/m-p/2308249#M79597</link>
      <description>Thanks for that.... 
&lt;BR /&gt;I did import all java util as well.. Please find code here.. after that also still its not working... 
&lt;BR /&gt;I'm unable import custom routine into my Talend Job which you sent thru email... 
&lt;BR /&gt;I did following method to import the your custom routine 
&lt;BR /&gt;Correct me If worng:- 
&lt;BR /&gt;Code &amp;gt; Routines &amp;gt; Right-click Routines and selected Import items &amp;gt; Select archive file path &amp;gt; 
&lt;BR /&gt; 
&lt;BR /&gt;Please let me know.. 
&lt;BR /&gt; 
&lt;BR /&gt;// ============================================================================ 
&lt;BR /&gt;// 
&lt;BR /&gt;// Copyright (c) 2005-2011, Talend Inc. 
&lt;BR /&gt;// 
&lt;BR /&gt;// This source code has been automatically generated by_Talend Open Studio for Data Integration 
&lt;BR /&gt;// CodeGenerator version 5.0.1.r74687 
&lt;BR /&gt;// You can find more information about Talend products at 
&lt;A href="http://www.talend.com" target="_blank" rel="nofollow noopener noreferrer"&gt;www.talend.com&lt;/A&gt;. 
&lt;BR /&gt;// You may distribute this code under the terms of the GNU LGPL license 
&lt;BR /&gt;// 
&lt;A href="http://www.gnu.org/licenses/lgpl.html)" rel="nofollow noopener noreferrer"&gt;http://www.gnu.org/licenses/lgpl.html)&lt;/A&gt;. 
&lt;BR /&gt;// 
&lt;BR /&gt;// ============================================================================ 
&lt;BR /&gt;package routines; 
&lt;BR /&gt; 
&lt;BR /&gt;import java.util.Calendar; 
&lt;BR /&gt;import java.util.Date; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;public class DateFunction { 
&lt;BR /&gt; /** 
&lt;BR /&gt; * helloExample: not return value, only print "hello" + message. 
&lt;BR /&gt; * 
&lt;BR /&gt; * 
&lt;BR /&gt; * {talendTypes} String 
&lt;BR /&gt; * 
&lt;BR /&gt; * {Category} User Defined 
&lt;BR /&gt; * 
&lt;BR /&gt; * {param} string("world") input: The string need to be printed. 
&lt;BR /&gt; * 
&lt;BR /&gt; * {example} helloExemple("world") # hello world !. 
&lt;BR /&gt; */ 
&lt;BR /&gt; public static int getPartOfDate(String partName, Date date) { 
&lt;BR /&gt; if (partName == null || date == null) 
&lt;BR /&gt; return 0; 
&lt;BR /&gt; int ret = 0; 
&lt;BR /&gt; String[] fieldsName = { "YEAR", "MONTH", "HOUR", "MINUTE", "SECOND", "DAY_OF_WEEK", "DAY_OF_MONTH", "DAY_OF_YEAR", 
&lt;BR /&gt; "WEEK_OF_MONTH", "DAY_OF_WEEK_IN_MONTH", "WEEK_OF_YEAR", "TIMEZONE", "HOUR OF DAY" }; 
&lt;BR /&gt; java.util.List&amp;lt;String&amp;gt; filedsList = java.util.Arrays.asList(fieldsName); 
&lt;BR /&gt; Calendar c = Calendar.getInstance(); 
&lt;BR /&gt; c.setTime(date); 
&lt;BR /&gt; switch (filedsList.indexOf(partName)) { 
&lt;BR /&gt; case 0: 
&lt;BR /&gt; ret = c.get(Calendar.YEAR); 
&lt;BR /&gt; break; 
&lt;BR /&gt; case 1: 
&lt;BR /&gt; ret = c.get(Calendar.MONTH); 
&lt;BR /&gt; break; 
&lt;BR /&gt; case 2: 
&lt;BR /&gt; ret = c.get(Calendar.HOUR); 
&lt;BR /&gt; break; 
&lt;BR /&gt; case 3: 
&lt;BR /&gt; ret = c.get(Calendar.MINUTE); 
&lt;BR /&gt; break; 
&lt;BR /&gt; case 4: 
&lt;BR /&gt; ret = c.get(Calendar.SECOND); 
&lt;BR /&gt; break; 
&lt;BR /&gt; case 5: 
&lt;BR /&gt; ret = c.get(Calendar.DAY_OF_WEEK); 
&lt;BR /&gt; break; 
&lt;BR /&gt; case 6: 
&lt;BR /&gt; ret = c.get(Calendar.DAY_OF_MONTH); 
&lt;BR /&gt; break; 
&lt;BR /&gt; case 7: 
&lt;BR /&gt; ret = c.get(Calendar.DAY_OF_YEAR); 
&lt;BR /&gt; break; 
&lt;BR /&gt; case 8: 
&lt;BR /&gt; // the ordinal number of current week in a month (it means a 'week' may be not contain 7 days) 
&lt;BR /&gt; ret = c.get(Calendar.WEEK_OF_MONTH); 
&lt;BR /&gt; break; 
&lt;BR /&gt; case 9: 
&lt;BR /&gt; // 1-7 correspond to 1, 8-14 correspond to 2,... 
&lt;BR /&gt; ret = c.get(Calendar.DAY_OF_WEEK_IN_MONTH); 
&lt;BR /&gt; break; 
&lt;BR /&gt; case 10: 
&lt;BR /&gt; ret = c.get(Calendar.WEEK_OF_YEAR); 
&lt;BR /&gt; break; 
&lt;BR /&gt; case 11: 
&lt;BR /&gt; ret = (c.get(Calendar.ZONE_OFFSET)) / (1000 * 60 * 60); 
&lt;BR /&gt; break; 
&lt;BR /&gt; case 12: 
&lt;BR /&gt; ret = c.get(Calendar.HOUR_OF_DAY); 
&lt;BR /&gt; break; 
&lt;BR /&gt; default: 
&lt;BR /&gt; break; 
&lt;BR /&gt; } 
&lt;BR /&gt; return ret; 
&lt;BR /&gt; } 
&lt;BR /&gt;}</description>
      <pubDate>Thu, 31 May 2012 03:26:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Date-and-Time-Format-With-HH24/m-p/2308249#M79597</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-31T03:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: Date and Time Format With HH24</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Date-and-Time-Format-With-HH24/m-p/2308250#M79598</link>
      <description>Hi&lt;BR /&gt;Finally, I know the root reason.&lt;BR /&gt;It should be DateFunction.getPartOfDate("HOUR OF DAY",row1.PSTART).&lt;BR /&gt;What you typed is DateFunction.getPartOfDate("HOUR_OF_DAY",row1.PSTART).&lt;BR /&gt;Regards,&lt;BR /&gt;Pedro</description>
      <pubDate>Thu, 31 May 2012 03:29:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Date-and-Time-Format-With-HH24/m-p/2308250#M79598</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-31T03:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: Date and Time Format With HH24</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Date-and-Time-Format-With-HH24/m-p/2308251#M79599</link>
      <description>Sorry for troubling you..again Im getting same issue. 
&lt;BR /&gt;Im getting value instead of 16 HOUR = 0 
&lt;BR /&gt;Now I have used DateFunction.getPartOfDate("HOUR OF DAY",row1.PSTART) even same issue. 
&lt;BR /&gt;I checked the internet as well for "java.util.calendar" example 
&lt;BR /&gt;they are using "Calendar.HOUR_OF_DAY", same thing when i was using I'm not getting correct result. 
&lt;BR /&gt;Please find the link here.. 
&lt;BR /&gt; 
&lt;A href="http://www.roseindia.net/java/beginners/calendarexample.shtml" rel="nofollow noopener noreferrer"&gt;http://www.roseindia.net/java/beginners/calendarexample.shtml&lt;/A&gt; 
&lt;BR /&gt; 
&lt;A href="http://www.leepoint.net/notes-java/other/10time/30calendar.html" rel="nofollow noopener noreferrer"&gt;http://www.leepoint.net/notes-java/other/10time/30calendar.html&lt;/A&gt; 
&lt;BR /&gt; 
&lt;A href="http://www.idevelopment.info/data/Programming/java/date/CalendarExample.java" rel="nofollow noopener noreferrer"&gt;http://www.idevelopment.info/data/Programming/java/date/CalendarExample.java&lt;/A&gt; 
&lt;BR /&gt; 
&lt;A href="http://www.leepoint.net/notes-java/other/10time/30calendar.html" rel="nofollow noopener noreferrer"&gt;http://www.leepoint.net/notes-java/other/10time/30calendar.html&lt;/A&gt; 
&lt;BR /&gt;Please let me know.. 
&lt;BR /&gt;Thanks 
&lt;BR /&gt;Rajesh G</description>
      <pubDate>Thu, 31 May 2012 04:28:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Date-and-Time-Format-With-HH24/m-p/2308251#M79599</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-31T04:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: Date and Time Format With HH24</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Date-and-Time-Format-With-HH24/m-p/2308252#M79600</link>
      <description>Hi Rajesh
&lt;BR /&gt;Sorry. The expression is correct. The custom routine is correct. I think I must miss some detail.
&lt;BR /&gt;You'd better check it carefully.
&lt;BR /&gt;Or send me an email with this export job and custom routine.
&lt;BR /&gt;I will test it for you.
&lt;BR /&gt;Regards,
&lt;BR /&gt;Pedro</description>
      <pubDate>Thu, 31 May 2012 04:40:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Date-and-Time-Format-With-HH24/m-p/2308252#M79600</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-31T04:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: Date and Time Format With HH24</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Date-and-Time-Format-With-HH24/m-p/2308253#M79601</link>
      <description>Thanks Pedro..&lt;BR /&gt;I have send you the export ETL job and custom routine to your email.&lt;BR /&gt;Please have a look and let me know..&lt;BR /&gt;Thanks&lt;BR /&gt;Rajesh G</description>
      <pubDate>Thu, 31 May 2012 05:27:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Date-and-Time-Format-With-HH24/m-p/2308253#M79601</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-31T05:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: Date and Time Format With HH24</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Date-and-Time-Format-With-HH24/m-p/2308254#M79602</link>
      <description>Hi Rajesh&lt;BR /&gt;This only error I find is "HOUR OF DAY" as the following image.&lt;BR /&gt;Regards,&lt;BR /&gt;Pedro</description>
      <pubDate>Thu, 31 May 2012 05:35:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Date-and-Time-Format-With-HH24/m-p/2308254#M79602</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-31T05:35:31Z</dc:date>
    </item>
    <item>
      <title>Re: Date and Time Format With HH24</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Date-and-Time-Format-With-HH24/m-p/2308255#M79603</link>
      <description>Thanks...Sorry again...
&lt;BR /&gt;In custom routine i have declared like this..
&lt;BR /&gt; case 12:
&lt;BR /&gt; ret = c.get(Calendar.HOUR_OF_DAY);
&lt;BR /&gt; break;
&lt;BR /&gt;then, If use DateFunction.getPartOfDate("HOUR OF DAY",row1.PSTART) either this or that
&lt;BR /&gt; OR
&lt;BR /&gt; DateFunction.getPartOfDate("HOUR_OF_DAY",row1.PSTART)
&lt;BR /&gt;Im getting same issue.
&lt;BR /&gt;Im getting value instead of 16 HOUR = 0
&lt;BR /&gt;Thanks
&lt;BR /&gt;Rajesh G</description>
      <pubDate>Thu, 31 May 2012 08:14:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Date-and-Time-Format-With-HH24/m-p/2308255#M79603</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-31T08:14:15Z</dc:date>
    </item>
    <item>
      <title>Re: Date and Time Format With HH24</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Date-and-Time-Format-With-HH24/m-p/2308256#M79604</link>
      <description>Hi 
&lt;BR /&gt;"HOUR OF DAY" or "HOUR_OF_DAY" is decided by the code below. 
&lt;BR /&gt; 
&lt;PRE&gt;String[] fieldsName = { "YEAR", "MONTH", "HOUR", "MINUTE", "SECOND", "DAY_OF_WEEK", "DAY_OF_MONTH", "DAY_OF_YEAR",&lt;BR /&gt;                "WEEK_OF_MONTH", "DAY_OF_WEEK_IN_MONTH", "WEEK_OF_YEAR", "TIMEZONE", "HOUR OF DAY" };&lt;/PRE&gt; 
&lt;BR /&gt;You will see the last element of this String array. 
&lt;BR /&gt;Sorry. I can't find out why it doesn't work... 
&lt;BR /&gt;I am really eager to fly to your side... 
&lt;BR /&gt;Regards, 
&lt;BR /&gt;Pedro</description>
      <pubDate>Thu, 31 May 2012 08:43:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Date-and-Time-Format-With-HH24/m-p/2308256#M79604</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-31T08:43:19Z</dc:date>
    </item>
    <item>
      <title>Re: Date and Time Format With HH24</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Date-and-Time-Format-With-HH24/m-p/2308257#M79605</link>
      <description>Thanks for your kind inputs and reply's...
&lt;BR /&gt;Its working fine now...I did mistake when declare the strings 
&lt;BR /&gt; String[] fieldsName = { "YEAR", "MONTH", "HOUR", "MINUTE", "SECOND", "DAY_OF_WEEK", "DAY_OF_MONTH", "DAY_OF_YEAR", "WEEK_OF_MONTH", "DAY_OF_WEEK_IN_MONTH", "WEEK_OF_YEAR", "TIMEZONE", "HOUR_OF_DAY" };
&lt;BR /&gt;We should declare "HOUR_OF_DAY" , but i was declaring "HOUR OF DAY" ... that y the problem...
&lt;BR /&gt;Thanks very much..
&lt;BR /&gt;Thanks
&lt;BR /&gt;Rajesh G</description>
      <pubDate>Fri, 01 Jun 2012 01:59:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Date-and-Time-Format-With-HH24/m-p/2308257#M79605</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-06-01T01:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: Date and Time Format With HH24</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Date-and-Time-Format-With-HH24/m-p/2308258#M79606</link>
      <description>Hi Rajesh&lt;BR /&gt;Great!&lt;BR /&gt;Feel free to ask any questions about Talend here.&lt;BR /&gt;Regards,&lt;BR /&gt;Pedro</description>
      <pubDate>Fri, 01 Jun 2012 03:25:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Date-and-Time-Format-With-HH24/m-p/2308258#M79606</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-06-01T03:25:03Z</dc:date>
    </item>
  </channel>
</rss>

