Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Elastica
Type
AbstractType
convertDate
Elastica\Type\AbstractType::convertDate PHP Method
AbstractType Class Documentation
Show file
Open project: ruflin/elastica
convertDate()
public
method
This is the lucene date format
public
convertDate
(
integer
$date
) :
string
$date
integer
Date input (could be string etc.) -> must be supported by strtotime
return
string
Converted date string
public function convertDate($date) { return Util::convertDate($date); }
AbstractType
__construct
convertDate
count
create
createSearch
getIndex
getType
search