Home > Contents > Index >
Template Tags TOC | Alpha TOC | Tag Family TOC | Purpose TOC | Annotated TOC | Index
ics:searchdatetonative (Deprecated)
Deprecated as of Content Server version 7.6
Syntax
<ics:searchdatetonative date="Java date" outputvariable="variable name" [searchengine="name"]/>Parameters
date (required)- Java SQL date to convert.
outputvariable (required)- Name of the variable to store the converted date string.
searchengine (optional)- Name of the search engine to use. If
searchengineis not specified, Sites uses the value ofcs.searchenginefrom the Sites properties file.
Description
The
ics:searchdatetonativetag converts the Java SQL-formatted date to the date format native to the search engine. Use in theWHATparameter of aics:searchtag. Dates in queries must be in a format that the search engine can parse.The input to this tag (the
dateparameter) must be a valid Java SQL date. Sites does not detect certain errors in the date format.The Verity search engine handles most date formats, including the Java SQL format. If you are using Verity, you do not need to call
ics:searchdatetonative.Error Numbers
The possible values of
errnoinclude:
Value Description -801 Cannot load search engine.
Home > Contents > Index > ![]()
Oracle JSP Tag Reference
Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.