Skip to main content
sramanujam
Staff
Staff
January 1, 2026

Technical Tip: How to get millisecond and nanosecond precision using Jinja

  • January 1, 2026
  • 0 replies
  • 102 views
Description This article describes Jinja templating for any timestamp with millisecond or nanosecond precision.
Scope FortiSOAR 7.5.x, 7.6.x.
Solution

Step 1: Go to Playbook Designer -> Tools -> Jinja Editor and load the Environment.

 

Step 2: For millisecond precision, use the following template.

 

{{ arrow.get (vars['Last Seen Time']).to("UTC").format("YYYY-MM-DD HH:mm:ss.SSS ZZ") }}

 

Step 3: For nanosecond precision, use the following elow template.

 

{{ arrow.get (vars['Last Seen Time']).to("UTC").format("YYYY-MM-DD HH:mm:ss.SSSSSS ZZ") }}

 

Step 4: After testing using the Jinja Editor, update the playbook steps accordingly.