before.php
Table of Contents
Functions
- before() : string
- Generates the 'before:date' rule expression.
Functions
before()
Generates the 'before:date' rule expression.
before(string $date) : string
The field under this rule must be a date before the given maximum.
This also works the same way as the after rule. Pass anything that can be parsed by strtotime
Parameters
- $date : string
-
The date format pattern.