You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Jacob Tolar (JIRA)" <ji...@apache.org> on 2016/06/01 22:17:59 UTC

[jira] [Updated] (OOZIE-2551) Feature request: epoch timestamp generation

     [ 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-1.patch

> 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
>
>
> 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)