Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static $rules = [
- ...
- 'example_date' => 'required|date'
- ];
- 'example_date' => 'required|date|before:2014-12-19'
- 'example_date' => 'required|date|before:' . date('Y-m-d')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement