Trigger Function that parses date/time

XMLWordPrintable

    • Type: Change Request
    • Resolution: Unresolved
    • Priority: Trivial
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      Frequently we may have items that come through as a timestamp or a date/time string. We currently have to write scripts / ingest the data in a different way to bring that in as an epoch to do conditional evaluations on it.

      It would be nice if there was a built in function to parse a timestamp, so you can do math on it. So for example:

       

      Jul 10 20:49:36 2027 GMT -> converted to an epoch, so in the trigger condition we can call math on it.

       

      Use case:

      SSL Certificate timestamps less than 30 days from expiring. OpenSSL brings them back in the timestamp above.

            Assignee:
            Unassigned
            Reporter:
            Andy Wojnarek
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: