Ransomware attackers specifically target and attempt to destroy backup systems to increase the probability of payment. Hardening your system is critical. Please ensure you have reviewed your platform security using the Security Hardening Checklist
Cohesity

COHESITY Documentation

Explore our documentation to get started, discover products & new features, access troubleshooting guides, register sources, platforms support.

Products
Data Security Alliance
Visit Cohesity.com
Demos
Support
Blogs
Developers
Partner Portals
Cohesity Community
© 2026 Cohesity, Inc. All Rights Reserved.
Terms of Use|
Privacy Policy|
Legal|
  1. Home
  2. IT Analytics Help
  3. Section IV. End user
  4. Work with the dynamic template designer
  5. Create Fields with the Field Builder
  6. Convert Dates to Numbers in the Field Builder

Convert Dates to Numbers in the Field Builder

To calculate a time duration, such as the duration of a backup job, dates need to be converted to a numeric data type.

  • Append a .time suffix to a field to convert the date to a number.

    With this suffix applied, the result is the number of milliseconds that have elapsed since the epoch time (midnight of January 1, 1970).

    Example of a Duration Calculation:

    ${D.time - C.time}

    Where D is the Job Finish Time field and C is the Job Start Time field. Both C and D are date fields.

Feedback

Was this page helpful?
Previous

Create Fields with the Field Builder

Next

Syntax for Calculated Fields

Feedback

Was this page helpful?