Join Now

Click here to join our
growing community:

JOIN LOGIN



Docs

Welcome Tour
Handbook
      Markups
      Variables
      Conditions
      Functions
      Forms
      Commands
      Concepts
Extensions
Pro Modules
Developers



Copyright © 2020
Terms of Use
Privacy Policy
BoltWire

Handbook

Before

This function requires a date or timestamp parameter. If using a date with spaces, be sure to wrap it in quote marks or it will fail.

This function is especially useful for opening or closing sections of your site automatically:

[if before 'December 02, 2021']Enrollment closes soon...[if]

Note this uses the strtotime function in PHP so you can do things like

[if before 'Friday']Enrollment closes Thursday at Midnight...[if]

However, note the condition will reset the following Sunday, as PHP now assumes you mean the current week's Friday. And this may not be the desire you intend.