$description=$this->t('A user-defined date format. See the <a href="@url">PHP manual</a> for available options.',array('@url'=>'http://php.net/manual/function.date.php'));
$format=$this->t('Displayed as %date_format',array('%date_format'=>\Drupal::service('date')->format(REQUEST_TIME,'custom',$value)));