title: Assert on Future Dates in Symfony 2.7
body: <p>How can I make a validation that will not let the user accepts future dates on Symfony Entities.</p>
  
  <p>I have the following Assertion code in my Entity:</p>
  
  <pre><code>  /**
   * @var date
   *
   * @ORM\Column(name="birthday", type="date")
   * @Assert\NotBlank(message="Please enter your birthday.", groups={"Registration", "Profile", "AdminEdit"})
   * @Assert\LessThanOrEqual("+1 year Asia/Tokyo", message="Invalid date", groups={"Registration", "Profile", "AdminEdit"})
   * 
   */
  
  private $birthday;
  </code></pre>
  
  <p>Thanks.</p>