<?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>question Re: Extract current time in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Extract-current-time/m-p/368788#M240278</link>
    <description>&lt;P&gt;hi &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/104664"&gt;@ushasri&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;Can you provide some more details about your flow? Without knowing what you are doing in your flow, I can only tell you that you can use the Expression Language from NiFi and extract the current time send it into your stream. The current time can be called as an example like:&lt;/P&gt;&lt;PRE&gt;${now():toNumber():format('yyyy-MM-dd')} &lt;/PRE&gt;&lt;P&gt;Next, you can use an UpdateRecord Processor, add the attribute to your newly defined column and send it to further processing.&lt;BR /&gt;More about NiFi's Expression Language: &lt;A href="https://nifi.apache.org/docs/nifi-docs/html/expression-language-guide.html" target="_blank"&gt;https://nifi.apache.org/docs/nifi-docs/html/expression-language-guide.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 18 Apr 2023 09:41:06 GMT</pubDate>
    <dc:creator>cotopaul</dc:creator>
    <dc:date>2023-04-18T09:41:06Z</dc:date>
    <item>
      <title>Extract current time</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Extract-current-time/m-p/368774#M240266</link>
      <description>&lt;P&gt;Dears,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;How can I extract current time in Nifi and load into a column of a table in database&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thankyou!&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2023 08:10:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Extract-current-time/m-p/368774#M240266</guid>
      <dc:creator>ushasri</dc:creator>
      <dc:date>2023-04-18T08:10:26Z</dc:date>
    </item>
    <item>
      <title>Re: Extract current time</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Extract-current-time/m-p/368788#M240278</link>
      <description>&lt;P&gt;hi &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/104664"&gt;@ushasri&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;Can you provide some more details about your flow? Without knowing what you are doing in your flow, I can only tell you that you can use the Expression Language from NiFi and extract the current time send it into your stream. The current time can be called as an example like:&lt;/P&gt;&lt;PRE&gt;${now():toNumber():format('yyyy-MM-dd')} &lt;/PRE&gt;&lt;P&gt;Next, you can use an UpdateRecord Processor, add the attribute to your newly defined column and send it to further processing.&lt;BR /&gt;More about NiFi's Expression Language: &lt;A href="https://nifi.apache.org/docs/nifi-docs/html/expression-language-guide.html" target="_blank"&gt;https://nifi.apache.org/docs/nifi-docs/html/expression-language-guide.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2023 09:41:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Extract-current-time/m-p/368788#M240278</guid>
      <dc:creator>cotopaul</dc:creator>
      <dc:date>2023-04-18T09:41:06Z</dc:date>
    </item>
  </channel>
</rss>

