Table of Contents

Search

  1. Preface
  2. Introduction
  3. Dashboard
  4. Resources
  5. Workflows
  6. Task Reference
  7. Services Overview
  8. Users
  9. Logs and Reports
  10. Encryption
  11. System
  12. Appendix
  13. Glossary Terms

Adding or Subtracting units from a Date, Time or Timestamp

Adding or Subtracting units from a Date, Time or Timestamp

When defining your own variable to contain a date, time or timestamp (as described in step 4 above), you can optionally add or subtract units from that variable. For instance, you could create a date variable that is one year older than today's date. Or you could create a time variable that is 2 hours newer than the current time.
To add or subtract units from a date, time or timestamp variable, click the
Date Manipulation
tab while defining the Format in a Timestamp task. If you want to add a units, enter the value as +X, where X is the number of units to add. If you want to subtract units, enter the value as -X, where X is the number of units to subtract. Listed below is an example of subtracting 1 year from the current date.
For Projects at version 2.0, you can also use functions to get the current date, time and timestamp within fields. These functions do not require the Timestamp task to be run first.

0 COMMENTS

We’d like to hear from you!