Member since
06-17-2019
2
Posts
0
Kudos Received
0
Solutions
06-18-2019
12:55 PM
@Shu - Thanks for your detailed answer. That helps. What if I have a timestamp and I need to convert it to a string?
... View more
06-17-2019
03:44 PM
Hello, I am using Nifi to pull values from sensors & store it to a database. How to convert a timestamp of regular time to UTC timestamp? attribute name - timestamp value now - 2019-06-17 14:46:18.370 value desired- 2019-06-17T14:46:18.370Z I tried formatting date in UpdateAttribute processor but it didn't work - $(timestamp:toDate("yyyy-MM-dd hh:mm:ss.ttt"):format("yyyy-mm-ddThh:mm:ss.tttZ")) I appreciate your answers. Thanks.
... View more
Labels:
- Labels:
-
Apache NiFi