dateformat |
|||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Description |
The dateformat tag either formats a datetime for
output or parses one from an input. The format attribute specifies
the format to use either to format for output or to parse from input. If the
parse attribute is specified then that value is used as the parse
string to set the specified datetime. If the parse attribute is not
specified then the datetime is formatted to the page output. |
||||||||||||
Tag Body |
JSP | ||||||||||||
Restrictions |
The datetime to operate on is located as follows. If the name
attribute is specified then that datetime bean is used. Otherwise the
parent datetime tag is used. |
||||||||||||
Attributes |
The tag has the following attributes:
|
||||||||||||
Properties |
|
||||||||||||
Example(s) |
<%-- create now datetime and output hours/minutes --%> |