function apachesolr_date_iso in Apache Solr Search 6
Same name and namespace in other branches
- 8 apachesolr.module \apachesolr_date_iso()
- 5.2 apachesolr.module \apachesolr_date_iso()
- 6.3 apachesolr.module \apachesolr_date_iso()
- 6.2 apachesolr.module \apachesolr_date_iso()
- 7 apachesolr.module \apachesolr_date_iso()
Convert date from timestamp into ISO 8601 format. http://lucene.apache.org/solr/api/org/apache/solr/schema/DateField.html
2 calls to apachesolr_date_iso()
- apachesolr_node_to_document in ./
apachesolr.index.inc - Given a node ID, return a document representing that node.
- apachesolr_search_date_range in ./
apachesolr_search.module
File
- ./
apachesolr.module, line 490 - Integration with the Apache Solr search application.
Code
function apachesolr_date_iso($date_timestamp) {
return gmdate('Y-m-d\\TH:i:s\\Z', $date_timestamp);
}