<?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: Add date and time fields(both coming as source fields) into DATE TIME in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Add-date-and-time-fields-both-coming-as-source-fields-into-DATE/m-p/2301959#M74001</link>
    <description>Hi, 
&lt;BR /&gt; 
&lt;BR /&gt;Thanks, both the below answers are useful for me. but small amendment to to my requirement; 
&lt;BR /&gt; 
&lt;BR /&gt;1) i'm able to get the date time by using below expressions, but i need to get date time in GMT+1 format. 
&lt;BR /&gt;2) from the source both &amp;nbsp;date and time are in date time format, not string format. if date is coming as null from the source , i need to keep the value as "00-00-0000". 
&lt;BR /&gt; 
&lt;BR /&gt;Thanks,</description>
    <pubDate>Thu, 15 Dec 2016 09:43:58 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-12-15T09:43:58Z</dc:date>
    <item>
      <title>Add date and time fields(both coming as source fields) into DATE TIME</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Add-date-and-time-fields-both-coming-as-source-fields-into-DATE/m-p/2301955#M73997</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;i would like to know how we can pass current date as GMT+1 in tMap, can anyone help me on it.?&lt;BR /&gt;&lt;BR /&gt;Also how to add date and time fields(both coming as source fields) into DATE TIME in tmap?&lt;BR /&gt;thanks,&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2016 06:23:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Add-date-and-time-fields-both-coming-as-source-fields-into-DATE/m-p/2301955#M73997</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-14T06:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: Add date and time fields(both coming as source fields) into DATE TIME</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Add-date-and-time-fields-both-coming-as-source-fields-into-DATE/m-p/2301956#M73998</link>
      <description>Hi
&lt;BR /&gt;You can call the system functions defined in TalendDate routine to perform transformations on Date field. can you please show us some example data to explain your needs?&amp;nbsp;
&lt;BR /&gt;
&lt;BR /&gt;Regards
&lt;BR /&gt;Shong</description>
      <pubDate>Thu, 15 Dec 2016 05:24:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Add-date-and-time-fields-both-coming-as-source-fields-into-DATE/m-p/2301956#M73998</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-15T05:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: Add date and time fields(both coming as source fields) into DATE TIME</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Add-date-and-time-fields-both-coming-as-source-fields-into-DATE/m-p/2301957#M73999</link>
      <description>Hi,&lt;BR /&gt;Here is my example:&lt;BR /&gt;1) If source filed value is coming as blank or null, i should replace it with date time in GMT+1 format.&lt;BR /&gt;2) source fields are coming as date (dd-MM-yyyy) and time (HH:mm:ss), i need to concatenate Date + Time as one field before load into Target field(Date time).&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Thu, 15 Dec 2016 06:57:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Add-date-and-time-fields-both-coming-as-source-fields-into-DATE/m-p/2301957#M73999</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-15T06:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: Add date and time fields(both coming as source fields) into DATE TIME</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Add-date-and-time-fields-both-coming-as-source-fields-into-DATE/m-p/2301958#M74000</link>
      <description>Hi
&lt;BR /&gt;Try&amp;nbsp;
&lt;BR /&gt;1) Link the input component to a tMap and do the transformatio, eg: assuming the data type of target column is String.
&lt;BR /&gt;
&lt;BR /&gt;row1.c1==null||row1.c1.equals("")?TalendDate.getDate("dd-MM-yyyy HH:mm:ss"):row1.c1
&lt;BR /&gt;
&lt;BR /&gt;2)Assuming the data type of coming fields are String,&amp;nbsp;
&lt;BR /&gt;
&lt;BR /&gt;TalendDate.parseDate("dd-MM-yyyy HH:mm:ss", row1.date+" "+row1.time)
&lt;BR /&gt;
&lt;BR /&gt;Regards
&lt;BR /&gt;Shong</description>
      <pubDate>Thu, 15 Dec 2016 09:04:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Add-date-and-time-fields-both-coming-as-source-fields-into-DATE/m-p/2301958#M74000</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-15T09:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: Add date and time fields(both coming as source fields) into DATE TIME</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Add-date-and-time-fields-both-coming-as-source-fields-into-DATE/m-p/2301959#M74001</link>
      <description>Hi, 
&lt;BR /&gt; 
&lt;BR /&gt;Thanks, both the below answers are useful for me. but small amendment to to my requirement; 
&lt;BR /&gt; 
&lt;BR /&gt;1) i'm able to get the date time by using below expressions, but i need to get date time in GMT+1 format. 
&lt;BR /&gt;2) from the source both &amp;nbsp;date and time are in date time format, not string format. if date is coming as null from the source , i need to keep the value as "00-00-0000". 
&lt;BR /&gt; 
&lt;BR /&gt;Thanks,</description>
      <pubDate>Thu, 15 Dec 2016 09:43:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Add-date-and-time-fields-both-coming-as-source-fields-into-DATE/m-p/2301959#M74001</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-15T09:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: Add date and time fields(both coming as source fields) into DATE TIME</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Add-date-and-time-fields-both-coming-as-source-fields-into-DATE/m-p/2301960#M74002</link>
      <description>Hi
&lt;BR /&gt;1. What is the value you are getting now? What are you expected result?
&lt;BR /&gt;2. Convert the source data to a string first, and then&amp;nbsp;
&lt;FONT size="2"&gt;&lt;FONT face="Verdana," helvetica=""&gt;concatenate the two string to a string, parse the string to Date to map the target column.&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;FONT size="2"&gt;&lt;FONT face="Verdana," helvetica=""&gt;Regards&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="2"&gt;&lt;FONT face="Verdana," helvetica=""&gt;Shong&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Fri, 16 Dec 2016 11:30:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Add-date-and-time-fields-both-coming-as-source-fields-into-DATE/m-p/2301960#M74002</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-16T11:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: Add date and time fields(both coming as source fields) into DATE TIME</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Add-date-and-time-fields-both-coming-as-source-fields-into-DATE/m-p/2301961#M74003</link>
      <description>Hi,
&lt;BR /&gt;You can easilly convert a datetime with a few lines of Java code, but&amp;nbsp;you need to know the source and target timezone (for example Europe/Paris to GMT).
&lt;BR /&gt;Also, have you think about daylight saving time?
&lt;BR /&gt;What do you expect when asking for GMT+1 during summer and winter?
&lt;BR /&gt;Regards,
&lt;BR /&gt;TRF</description>
      <pubDate>Fri, 16 Dec 2016 13:35:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Add-date-and-time-fields-both-coming-as-source-fields-into-DATE/m-p/2301961#M74003</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2016-12-16T13:35:19Z</dc:date>
    </item>
  </channel>
</rss>

