2 Replies Latest reply on Jan 13, 2020 10:30 PM by Jharana Patra

    Adjust Timezone

    Uma Maheswar New Member

      Hi,

      Can someone help me how to use fn:adjust timezone function..,

      I'm using as below,, but getting error.

       

      fn:adjust-dateTime-to-timezone(xs:dateTime("$temp.tmpCurrentDate"), xs:dayTimeDuration("PT5H"))

       

      Error:

      {

          "error": {

              "code": 500,

              "detail": {

                  "reason": "Invalid date \"$temp.tmpCurrentDate\" (Non-numeric year component)"

              },

              "message": "Invalid date \"$temp.tmpCurrentDate\" (Non-numeric year component)"