Home > Contents > Index >
time:get
Retrieves the elapsed time.
Syntax
<time:get name="name" [output="output"]/>Parameters
name (required)
- Specifies a name that is associated with the initial time.
output (optional)
- Specifies a variable name to use for output of the elapsed time. If this parameter is not specified, the elapsed time is streamed.
Description
This tag streams the elapsed time in milliseconds, from when the time was last set.
Error Numbers
There are no possible
errno
for this tag.Example
The following example streams the elapsed time from
time1
to present:<time:get name="time1" output="elapsed"/> <ics:getvar name="elapsed"/>See Also
Home > Contents > Index > ![]()
Oracle JSP Tag Reference
Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved.