Date/Time

The Date/Time tool gives you several date-related actions in one place — getting the current date/time, formatting dates, adding or subtracting durations, finding differences, parsing date parts, humanizing relative time, and getting the start/end of a period. This guide shows how to add a Current Date/Time action after a Form Submitted trigger.

Step 1: Create a Workflow

Go to Zaplane > Workflows from your WordPress dashboard, then click Create Workflow to open the workflow editor.

Before adding a Date/Time tool, you need to set up a trigger first. Here is how to do it quickly:

  • Click Select an app under the Trigger box, then choose Apps.
  • Search for and select your trigger app — in this example, we are using aBlocks Contact Form.
  • Choose the Trigger Type that matches the event you want to watch for, then click Continue.
  • On the Configure tab, set up any required options, then click Continue.
  • On the Test tab, click Test Trigger to confirm it is working correctly, then click Save.

Once your trigger is saved, proceed to the next step to add the Date/Time tool.

Step 2: Add the Date/Time Tool

On your workflow canvas, click the + icon next to your trigger to open the Add Action panel, then select Date/Time from the Tools list.

Add the Date/Time Tool

Step 3: Select “Current Date/Time”

On the Select tab, choose Current Date/Time as the Action Type. Other options here include Format Date, Add / Subtract, Difference, Parse (extract parts), Humanize (relative), and Start / End of… Click Continue.

Select Current Date/Time

Step 4: Configure the Action

On the Configure tab, set the Output format (PHP date) — e.g., Y-m-d H:i:s — and optionally set a Timezone. Click Continue when done.

Configure the Action

Step 5: Test the Action

On the Test tab, click Test Action to generate a sample timestamp and confirm it’s formatted the way you expect. Once the test succeeds, click Save.

Test the Action

Step 6: Update and Activate the Workflow

Back on the workflow canvas, click Update to save your changes, and make sure the workflow status is set to Active. You can view execution results anytime from the Logs.

Update and Activate

Done!

Your Zaplane workflow can now generate a formatted current timestamp automatically, ready to use in any action further down the workflow.