Skip to main content
답변 2개
  1. 2022년 11월 11일 오전 1:11

    Below script will help you.

     

    %dw 2.0

    output application/json

    var dt = "2022-11-07 08:57:09"

    ---

     

    dt as LocalDateTime {format: "yyyy-MM-dd HH:mm:ss"} as String {format: "yyyy-MM-dd'T'HH:mm:ss'Z'"}