We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Is there a way to add days to the current time and output it?

How Do I?

From EE Slack's avatar
From EE Slack
185 posts
about 9 months ago
From EE Slack's avatar From EE Slack

For example, something like

{current_time} + 15 days

Interested in learning more solutions or want to get to know other EE users? Read more about joining the slack here! Join Our Slack!

       
From EE Slack's avatar
From EE Slack
185 posts
about 9 months ago
From EE Slack's avatar From EE Slack

There is indeed a way- the {variable_time} variable variable let’s you set a ‘date’ parameter to adjust the time and output it using all of the standard date formatting options.

Plus it’s early parsed, so works as a parameter in other tags.

Handy!

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.