[
https://issues.apache.org/jira/browse/NIFI-1078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15117707#comment-15117707
]
Mark Payne commented on NIFI-1078:
----------------------------------
[~JPercivall] - can we update the verbage in the documentation to also explain
what that date/time format means? I.e., "<Day of Week> <Month> <Day of Month>
<Hour>:<Minute>:<Second> <Time Zone> <Year>" - while the format string needs to
be understood to use the format() function, it's quite possible that those who
just want to use the now() function do not know off the top of their head what
the funky string means :) It would also be helpful to provide an example in the
'examples' section that does provide a numeric equivalent.
> ${now()} returns string dates instead of a number of milliseconds
> -----------------------------------------------------------------
>
> Key: NIFI-1078
> URL: https://issues.apache.org/jira/browse/NIFI-1078
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Affects Versions: 0.4.0
> Reporter: Randy Gelhausen
> Assignee: Joseph Percivall
> Fix For: 0.5.0
>
> Attachments: 0001-NIFI-1078-Fixing-the-now-EL-documentation.patch
>
>
> Per the docs: The now function returns the current date and time as the
> number of milliseconds since Midnight GMT on January 1, 1970.
> However, when using ${now()} in expression language, the result is: "Tue Oct
> 27 22:12:21 EDT 2015"
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)