Skip to main content

Merge tag {now}

Right now. The current date and time.

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

ProductGravityView
RequiresGravityView 2.30 or later
Needs an entryNo

Modifiers

What to show

ModifierDescriptionRequires
diffTime difference from now. Renders "3 days ago" for past dates and "3 days from now" for future ones. Before GravityView 3.5 it was off by the site's time-zone offset.GravityView 2.30 or later
no_tz_offsetSkip the timezone offset. Returns UTC from GravityView 3.4. Earlier versions returned the wrong time.GravityView 2.33 or later
rawRaw stored date. GravityView 2.30 or later
timestampUnix timestamp. On these tags, the timestamp is the site's local time shifted by its time-zone offset, not a true UTC timestamp (unlike {today:timestamp}).GravityView 2.30 or later

Change the output

ModifierDescriptionRequires
formatCustom date format. A PHP date() format. Everything after format: is the format, so put it last. Write a colon as \:. See PHP's table of date format letters. A comma needs no backslash here; \, also works.GravityView 2.30 or later

Other settings

ModifierDescriptionRequires
timeInclude the time. GravityView 2.30 or later

Examples

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

Merge tagOutput
{now}January 15, 2026

With a modifier

Merge tagOutputWithout the modifier
{now:raw}2026-01-15 09:00:00January 15, 2026
{now:timestamp}1768449600January 15, 2026
{now:diff}1 second from nowJanuary 15, 2026
{now:time}January 15, 2026 at 4:00 amJanuary 15, 2026
{now:format:Y-m-d}2026-01-15January 15, 2026