Jacob Tolar created OOZIE-2551:
----------------------------------
Summary: Feature request: epoch timestamp generation
Key: OOZIE-2551
URL: https://issues.apache.org/jira/browse/OOZIE-2551
Project: Oozie
Issue Type: Improvement
Components: core
Reporter: Jacob Tolar
Priority: Minor
Currently, Oozie has a coord:formatTime function for formatting time strings.
Unfortunately, as this is backed by SimpleDateFormat, there is no way to
produce the time in Unix-style epoch. (I.e. seconds or milliseconds since the
epoch.)
Please add a coord:unixTime (or similarly named) function that, given a time
string, converts it to either seconds since the epoch or milliseconds since the
epoch. Something like:
{code}
coord:unixTime(String ts, Boolean millis)
{code}
Requested by [~jmartell7]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)