Home Discussions Questions & Answers XXEN_UTIL Function for Time Duration Conversion

XXEN_UTIL Function for Time Duration Conversion

Avatar photoCustomer July 22, 2020 at 4:42 am

I need to format a large number of seconds (e.g., 361012 seconds) into a comprehensible time unit (days, hours, minutes). What function in `XXEN_UTIL` is designed for this?

Viewing 4 reply threads
  • Author
    Replies
    • Support July 23, 2020 at 6:10 am  

      The function **`XXEN_UTIL.TIME(p_seconds in number)`** converts a number of seconds into a time string.

    • Avatar photoCustomer July 23, 2020 at 3:06 pm  

      What is the typical format of the result?

    • Support July 24, 2020 at 10:01 pm  

      The result is a string showing the number of days, hours, minutes, and seconds, formatted as ’67d 14h 45.3s’ in one of the examples.

    • Avatar photoCustomer July 25, 2020 at 11:48 am  

      If I input 361012 seconds, what result should I expect?

    • Support July 26, 2020 at 3:46 pm  

      For 361012 seconds, the function returns ‘4d 4h 16m 52s’.

Viewing 4 reply threads
  • You must be logged in to reply to this post.

Login with: