Yes! When you are printing something like:
{createdAt}it will return a datetime object of default display format.
Understanding the default timestamp format
When a timestamp appears in a generated document (for example, in an electronic signature's "Date" column or in a "Generated by Ketryx" footer), the default format looks like this:
2024-07-27 14:32Z
The Z at the end stands for "Zulu time", which is a standard designation for UTC (Coordinated Universal Time). All timestamps in Ketryx-generated documents are recorded in UTC by design — the Z suffix explicitly indicates this to the reader.
If you need timestamps to be displayed in a different timezone, see the section below on customizing the datetime format in your document template.
Changing the timezone on templated documents
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
Comments
0 comments
Article is closed for comments.