<?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: Format Date in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Format-Date/m-p/2213496#M10728</link>
    <description>Hi , i have a source in excel with the following data&lt;BR /&gt;                                                                         id       name    dateofbirth     salary  hiredate&lt;BR /&gt;                                                                          1       xays      24/01/1994    100     05/07/2012    &lt;BR /&gt;                                                                          2        xyz       22/10/1991     200   04/02/2012&lt;BR /&gt;                                                                          3      kjsdj       04/02/1990     300   14/01/2008&lt;BR /&gt;                                                                          4       dfdkl      06/06/1989      400   16/02/2010 &lt;BR /&gt;here rowno1  24/01/1994,dateofbirth is displaying in excel as a general format&lt;BR /&gt;and rowno2    22/10/1994 dateofbirth is displaying in excel as a general format&lt;BR /&gt;and rowno 4   16/02/2010 hiredate is displaying in excel as a general format. so while iam loading this from excel to target  iam getting the following error  &lt;BR /&gt;                                The cell format is not date in row1 date of birth&lt;BR /&gt;                                The cell format is not date in row2 date of birth&lt;BR /&gt;                                The cell format is not date in row4 hire date         Because the above mentioned  rows are in general format in excel sheet.&lt;BR /&gt;my expetation is i want to get all the rows from source to target</description>
    <pubDate>Mon, 27 Jan 2014 11:10:28 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-01-27T11:10:28Z</dc:date>
    <item>
      <title>Format Date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Format-Date/m-p/2213493#M10725</link>
      <description>Hi,&lt;BR /&gt;I need to get the current date from SQL Server and format it as yyyy-MM-dd HH:00:00.  Where I am only looking at the current hour.  It is returning the date as 'Thu Oct 04 09:22:48 CDT 2012', which is not what i need.  What do I do to get it in this format yyyy-MM-dd HH:00:00?&lt;BR /&gt;Thanks,&lt;BR /&gt;Marcie</description>
      <pubDate>Thu, 04 Oct 2012 14:38:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Format-Date/m-p/2213493#M10725</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-10-04T14:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: Format Date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Format-Date/m-p/2213494#M10726</link>
      <description>You can format the date in the query eg SELECT convert(varchar, getdate(), 120) ? yyyy-mm-dd hh:mm:ss(24h)&lt;BR /&gt;You could then replace the last 5 chars with 00:00. There may be a date convert code that does it all - I'm not a sql server expert.</description>
      <pubDate>Thu, 04 Oct 2012 15:25:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Format-Date/m-p/2213494#M10726</guid>
      <dc:creator>janhess</dc:creator>
      <dc:date>2012-10-04T15:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: Format Date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Format-Date/m-p/2213495#M10727</link>
      <description>It appears that you've used System.out.println to dump the date to the console from tJavaRow?  The format above is Java's default for dates.&lt;BR /&gt;If you want to control the format for &lt;B&gt;manual&lt;/B&gt; output to the console you need to first convert it to a String using e.g. TalendDate.formatDate("yyyy-MM-dd HH:00:00").&lt;BR /&gt;If you want to control the format for output to tLogRow or to a file you only need to set the Date Pattern in the schema to "yyyy-MM-dd HH:00:00".&lt;BR /&gt;If you want to store the date as a Date in a DB but dropping the minutes and seconds: TalendDate.parseDate("yyyy-MM-dd HH",TalendDate.formatDate("yyyy-MM-dd HH"))</description>
      <pubDate>Fri, 05 Oct 2012 05:43:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Format-Date/m-p/2213495#M10727</guid>
      <dc:creator>alevy</dc:creator>
      <dc:date>2012-10-05T05:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: Format Date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Format-Date/m-p/2213496#M10728</link>
      <description>Hi , i have a source in excel with the following data&lt;BR /&gt;                                                                         id       name    dateofbirth     salary  hiredate&lt;BR /&gt;                                                                          1       xays      24/01/1994    100     05/07/2012    &lt;BR /&gt;                                                                          2        xyz       22/10/1991     200   04/02/2012&lt;BR /&gt;                                                                          3      kjsdj       04/02/1990     300   14/01/2008&lt;BR /&gt;                                                                          4       dfdkl      06/06/1989      400   16/02/2010 &lt;BR /&gt;here rowno1  24/01/1994,dateofbirth is displaying in excel as a general format&lt;BR /&gt;and rowno2    22/10/1994 dateofbirth is displaying in excel as a general format&lt;BR /&gt;and rowno 4   16/02/2010 hiredate is displaying in excel as a general format. so while iam loading this from excel to target  iam getting the following error  &lt;BR /&gt;                                The cell format is not date in row1 date of birth&lt;BR /&gt;                                The cell format is not date in row2 date of birth&lt;BR /&gt;                                The cell format is not date in row4 hire date         Because the above mentioned  rows are in general format in excel sheet.&lt;BR /&gt;my expetation is i want to get all the rows from source to target</description>
      <pubDate>Mon, 27 Jan 2014 11:10:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Format-Date/m-p/2213496#M10728</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-27T11:10:28Z</dc:date>
    </item>
  </channel>
</rss>

