Home > Contents > 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
searchengine
is not specified, Sites uses the value ofcs.searchengine
from the Sites properties file.
Description
The
ics:searchdatetonative
tag converts the Java SQL-formatted date to the date format native to the search engine. Use in theWHAT
parameter of aics:search
tag. Dates in queries must be in a format that the search engine can parse.The input to this tag (the
date
parameter) 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
errno
include:
Value Description -801 Cannot load search engine.
Home > Contents > Index > ![]()
Oracle JSP Tag Reference
Copyright (c) 2013, 2019, Oracle and/or its affiliates. All rights reserved.