Pierre Villard created NIFI-7230:
------------------------------------

             Summary: Improve EL to support microseconds/nanoseconds precision
                 Key: NIFI-7230
                 URL: https://issues.apache.org/jira/browse/NIFI-7230
             Project: Apache NiFi
          Issue Type: Improvement
          Components: Core Framework
            Reporter: Pierre Villard


Using the EL, there is no way to convert a date like "2020-02-26 
20:23:53.439134" into its numerical representation (timestamp with 
microsecond/nanosecond precision).

At the moment, if trying to do:

 
{code:java}
${ts:toDate("yyyy-MM-dd HH:mm:ss.SSSSSS"):toNumber()} 
{code}
It'll give a timestamp with milliseconds precision.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to