Count Down tag ver. 1.3


    Custom JSP tag. Tag CountDown lets you calculate time left till the given date. You will provide final date and output format: days, hours, minutes or hours and minutes.

For example:
 


<%@ taglib uri="taglib.tld" prefix="get" %>

<!-- hours left till Jan,12 2002 15:00 -->
<get:CountDown date="01/12/2002 3:00 PM" format="hours"/>

Date should be presented according to default locale on your server (the above mentioned example uses Locale.US).

Tags are:

CountDown

Calculates time left till the given date. Parameters are:

1) date Describes final date/time.
2) format Describes format for output. Possible values are: days, hours, minutes and time (output will be in the form of hours:minutes).
3) id Optional parameter. Describes page scope variable for calculated data (type is java.lang.String). Without this parameter tag just prints data.

for downloading:

Library: cdowntag.jar    Description: taglib.tld

© Coldbeans      Comments?

See also Coldtags suite - the largest collection of custom JSP tags.

Also in Coldtags: