<?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 a date and time string to a date format in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Converting-a-date-and-time-string-to-a-date-format/m-p/2259418#M40908</link>
    <description>&lt;P&gt;I was originally trying to do this in a tMap expression.&amp;nbsp; Would I use tJava to execute the script provided?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 18 Nov 2019 22:00:39 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-11-18T22:00:39Z</dc:date>
    <item>
      <title>Converting a date and time string to a date format</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Converting-a-date-and-time-string-to-a-date-format/m-p/2259416#M40906</link>
      <description>&lt;P&gt;I have a csv source file where the date coming in is a string format:&amp;nbsp; &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;4/26/2013 11:07:05 PM&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;I need to convert this to a date format or&amp;nbsp;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;2013-04-26&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;I can't seem to get the basic functions to work.&amp;nbsp; Do I need to parse out the 'PM' first?&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:05:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Converting-a-date-and-time-string-to-a-date-format/m-p/2259416#M40906</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T04:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: Converting a date and time string to a date format</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Converting-a-date-and-time-string-to-a-date-format/m-p/2259417#M40907</link>
      <description>&lt;P&gt;This should work&lt;/P&gt;
&lt;PRE&gt;SimpleDateFormat sdf = new SimpleDateFormat("M/dd/yyyy hh:mm:ss a");&lt;BR /&gt;Date d = sdf.parse("4/26/2013 11:07:05 PM");
sdf.applyPattern("yyyy-MM-dd");
String newDateString = sdf.format(d); //2013-04-26&lt;/PRE&gt;</description>
      <pubDate>Mon, 18 Nov 2019 20:25:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Converting-a-date-and-time-string-to-a-date-format/m-p/2259417#M40907</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-11-18T20:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: Converting a date and time string to a date format</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Converting-a-date-and-time-string-to-a-date-format/m-p/2259418#M40908</link>
      <description>&lt;P&gt;I was originally trying to do this in a tMap expression.&amp;nbsp; Would I use tJava to execute the script provided?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2019 22:00:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Converting-a-date-and-time-string-to-a-date-format/m-p/2259418#M40908</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-11-18T22:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: Converting a date and time string to a date format</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Converting-a-date-and-time-string-to-a-date-format/m-p/2259419#M40909</link>
      <description>Hi
&lt;BR /&gt;You can call the built-in function to do it on tMap, eg:
&lt;BR /&gt;TalendDate.parseDate("M/dd/yyyy hh:mm:ss a", row1.columnName)
&lt;BR /&gt;
&lt;BR /&gt;Regards
&lt;BR /&gt;Shong</description>
      <pubDate>Tue, 19 Nov 2019 01:43:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Converting-a-date-and-time-string-to-a-date-format/m-p/2259419#M40909</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-11-19T01:43:57Z</dc:date>
    </item>
  </channel>
</rss>

