Legacy Dev Forum Posts

 View Only

Sign Up

Convert date format to unix timestamp

  • 1.  Convert date format to unix timestamp

    Posted 06-05-2025 19:10

    DanieleDiGiovanna | 2019-10-08 15:36:44 UTC | #1

    Hello, how can I convert the scripter variable "Agent Call Start Time" to unix UTC format? For example: from 10/08/2019 5:34:49 to 1570556089

    Thank you. Daniele


    tim.smith | 2019-10-08 19:40:23 UTC | #2

    It might be possible to do in an action and/or dynamic variable using the additional functions like indexOf and substr to parse the timestamp and then use the math functions to add it up into a unix timestamp.

    Alternatively, a simple web service of your design could be invoked via a data action to do the conversion in the programming language of your choosing.


    system | 2019-11-08 19:40:25 UTC | #3

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 6198