How can we work with dates?

I need to run a code, where I can get the date from a field, and validate is set for today.
How can I do this?

Hi @mariana, and welcome to our community :clap:
Here is a simple way you can do it:

  1. Use the ‘Get Future or Past Date’ action (change ‘Format’ to dd/MM/yyyy) and move the value to a parameter.

  2. Get the date from the field with the ‘Get Text’ action and move the value to a parameter.

  3. Use the ‘Replace substrings with regex’ action if needed, to adapt the new date’s format to the format used in step 1.

  4. Use the ‘Compare Dates’ action to compare between the dates.

Let me know if you need any assistance.

This topic was automatically closed after 180 days. New replies are no longer allowed.