Article - CS391261

How to make "new Date().toString()" in ThingWorx JavaScript service to return current time in JST timezone?

Modified: 24-May-2023   


Applies To

  • ThingWorx Platform 9.3 to 9.5

Description

  • Below code in ThingWorx JavaScript service returns current time in UTC timezone
new Date().toString()
  • How to make it return current time in JST?
This is a printer-friendly version of Article 391261 and may be out of date. For the latest version click CS391261