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

Jacob Tolar updated OOZIE-2551:
-------------------------------
    Attachment: OOZIE-2551-3.patch

Fixed up trailing spaces...

> 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
>         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.3.4#6332)

Reply via email to