Data360 Analyze

 View Only
  • 1.  How to Adjust time in an Hour/Minute/Seconds

    Posted 26 days ago
    It's been days now of trying to add/subs Hours/Minute/Seconds into the currently provided charging time below and im asking for any help regarding script todo so.



    ------------------------------
    Jaycee Ikani
    Knowledge Community Shared Account
    ------------------------------


  • 2.  RE: How to Adjust time in an Hour/Minute/Seconds

    Employee
    Posted 26 days ago
    Edited by Adrian Williams 26 days ago
    Hi jaycee,

    you need to use the Python timedelta objects to adjust a datetime value. Note that the timedelta functions only operate on datetime values, not on just time values so you need to create the datetime object first and then adjust it by the required amount - which results in a new datetime value. You can then extract the date and time components from the adjusted datetime value.


    You may also want to investigate the information here:
    https://d3sa-preview.infogixsaas.com/docs/dist/help/Default.htm#l-migration/date-time-functions.htm#datetime

    Regards,
    Adrian

    ------------------------------
    Adrian Williams
    Precisely Software Inc.
    Naperville IL
    ------------------------------



  • 3.  RE: How to Adjust time in an Hour/Minute/Seconds

    Posted 25 days ago
    Thank you so much Adrian Williams.
    #Malo 'aupito Adria Williams.

    Jaycee Ikani​​

    ------------------------------
    Jaycee Ikani
    Knowledge Community Shared Account
    ------------------------------