AuPerate action reference

Date Calculator

Date Calculator does date arithmetic and reformatting on record properties: add or subtract days, weeks, months or years, or rewrite a date into another format including Unix timestamps. Available from the Pro plan.

Available from the Pro plan. Add it in any workflow via Add action, then the AuPerate group. Fields appear and disappear based on the operation you pick, so you only ever see what the chosen operation needs.

Input fields

FieldShown forWhat it does
OperationalwaysAdd or subtract time (reveals amount and unit) or reformat a date (reveals the output format).
Date property to readalways (required)Live dropdown of the enrolled record's properties.
Amountadd modeHow much to add. Negative subtracts.
Unitadd modeDays, weeks, months or years.
Output formatformat modeYYYY-MM-DD, DD/MM/YYYY, MM/DD/YYYY, DD-MM-YYYY, Unix seconds or Unix milliseconds.
Write the result toalways (required)Live dropdown of writable properties that receives the result.

Output fields

OutputMeaning
Success / Statusok, skipped (source empty) or error.
ResultThe computed date value, also written to the target property.

Worked examples

Renewal date one year after close

  1. 1Operation: Add or subtract time, Amount 12, Unit Months.
  2. 2Date property to read: closedate. Write the result to: renewal_date.

Unix milliseconds for an external API

  1. 1Operation: Reformat a date, Output format Unix milliseconds.
  2. 2Send the target property onward with Send Webhook.

Good to know

  • Date-typed HubSpot properties store midnight UTC; adding partial days can shift the calendar day depending on timezone. Prefer whole units.
  • For business-day math that skips weekends, clone the Add business days system snippet from the snippet library.

Use cases

Set a renewal date one year out

On close, add 12 months to the close date and write it to renewal_date.

Compute an SLA due date

Add 5 days to the ticket create date into sla_due; pair with business-day logic via the snippet library when weekends matter.

Feed Unix timestamps to an API

Reformat a date property to unix_ms before sending it out with Send Webhook.

Frequently asked questions

Can I subtract time as well as add it?

Yes. Enter a negative amount, for example minus 30 days, to shift a date backwards.

Which properties can I read and write?

The read dropdown lists only date and datetime properties on the enrolled record. The write dropdown lists editable properties, so you cannot accidentally target a calculated field.

Can it skip weekends for SLA dates?

The action counts calendar time. For business-day logic, clone the Add business days snippet from the system snippet library and run it with the Run Custom Code action.

Related