Set the timezone within JavaScript code in VMware Aria Automation Orchestrator
search cancel

Set the timezone within JavaScript code in VMware Aria Automation Orchestrator

book

Article ID: 393563

calendar_today

Updated On: 04-08-2025

Products

VMware Aria Suite

Issue/Introduction

  • Want to change the time zone as reported by time functions inside a workflow, as distinct from:
  • This affects the time which is shown in Orchestrator log files, within the messages themselves
    • (the message's own timestamp is in system time)

Environment

  • VMware Aria Automation Orchestrator

Resolution

  • This can be achieved through the Orchestrator package attached to the KB: com.vmware.pso.moment.js.package.zip
  • "MomentJS javascript library to parse, validate, manipulate and display date/time, converted into two actions (and a workflow with a couple of examples). It also manages daylight saving time"

Additional Information

Attachments

com.vmware.pso.moment.js.package.zip get_app