Skip to main content
All CollectionsOnboarding
Date Calculation Triggers
Date Calculation Triggers
Alex Merkin avatar
Written by Alex Merkin
Updated over 8 months ago

Hi there,

I’m sure that you, as us, had the feeling that Next Plus can help you in many ways to be more accurate and punctual in your Time consuming processes.

Won’t it be easier to let Next Plus calculate Curing time. Predicting exactly when your product can be moved to its next phase.

Then - this time can be displayed on a billboard with all you Work Orders?

Wouldn’t it be great to have a timetable for all of your products ?

Oven time, maybe ESS time or just cooldown times ?

How about some Date arithmetic

Well, now you can!

Introducing two calculation functions:

Date Add

As a user, I want to be able to add time to a given date.

Just set a date, a “diff” operator and operator’s units, in our dateAdd trigger formula, and you will get the calculated future date.

Syntax :dateAdd(Date (custom field), Number (positive or negative), Unit)

Valid units are:

  • ‘milliseconds’

  • 'seconds'

  • 'minutes'

  • 'hours'

  • 'days'

  • 'weeks'

  • 'months'

  • 'quarters'

  • 'years'

Date Diff

Just set two dates (hours if needed) in our dateDiff trigger formula, and you will get a numerical difference calculation between the two.

Syntax :dateDiff(Date (custom field) "Newer", Date (custom field) "Older", Unit)

Valid units are:

  • ‘milliseconds’

  • 'seconds'

  • 'minutes'

  • 'hours'

  • ‘days’

  • ‘weeks’

How to Configure?

Just add a new variable, make it “Text” type.

Add the trigger

and voilà !

Did this answer your question?