Example #1
0
 /**
  * Converts given time to format: 1995-12-31T23:59:59Z
  *
  * This is the lucene date format
  *
  * @param int $date Date input (could be string etc.) -> must be supported by strtotime
  * @return string Converted date string
  */
 public function convertDate($date)
 {
     return Elastica_Util::convertDate($date);
 }