Skip to main content

Merge tag {today}

Today's date. The current date. raw, human, and diff do nothing on this tag; timestamp, time, and format work.

On the test entry, {today} gives January 15, 2026.

ProductGravity Forms
RequiresGravity Forms 2.6.0.1 or later
Needs an entryNo

Modifiers

What to show

ModifierDescriptionRequires
timestampUnix timestamp. A true UTC timestamp on {today}. On the entry's dates it is the site's local time shifted by its time-zone offset, so it is off by that offset on a site not set to UTC.Gravity Forms 1.9 or later

Change the output

ModifierDescriptionRequires
formatCustom date format. A PHP date() format, written after it: {date_created:format:Y-m-d}. Write a colon inside the format as \:. See PHP's table of date format letters. A comma needs no backslash here; \, also works.Gravity Forms 1.9 or later

Other settings

ModifierDescriptionRequires
timeInclude the time. Ignored with raw, timestamp, or diff.Gravity Forms 1.9 or later

Examples

Output from the real plugin code, run on a test entry.

Merge tagOutput
{today}January 15, 2026

With a modifier

Merge tagOutputWithout the modifier
{today:timestamp}1768467600January 15, 2026
{today:time}January 15, 2026 at 4:00 amJanuary 15, 2026
{today:format:Y-m-d}2026-01-15January 15, 2026