Can I change the timezone on my templated documents?

Jenn Dixon
Jenn Dixon
  • Updated

Yes! When you are printing something like:

{createdAt}

it will return a datetime object of default display format.

You can specify a different format for the datetime object such as:

{createdAt | datetime: "yyyy-MM-dd":"US/Eastern"}

to return the object in a specific format based on Unicode date format string ("yyyy-MM-dd" in the example above) and/or a tz timezone ID ("US/Eastern" in the example above). More information can be found in this section on docs.ketryx.com.

Related to

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request

Comments

0 comments

Article is closed for comments.