[ 
https://issues.apache.org/jira/browse/OOZIE-2551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Takamori reassigned OOZIE-2551:
--------------------------------------

    Assignee: Jacob Tolar  (was: Jacob Tolar)

> 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
>            Assignee: Jacob Tolar
>            Priority: Minor
>             Fix For: 4.3.0
>
>         Attachments: OOZIE-2551-1.patch, OOZIE-2551-2.patch, 
> OOZIE-2551-3.patch
>
>
> 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.4.14#64029)

Reply via email to