Hi Joe, you can also implement this with a small bit of Javascript code ...
added to a View Field should do the trick,
or to target a display only field change the reference of "idCountdown" to your
"arid" field (eg. arid888000111).
<html>
<body>
<span id="idCountdown"></span>
</body>
<script type="text/javascript">
// Countdown from a set number of seconds (eg. 300)
// OR set future date to countdown from (eg. end of epoch time)
// *** INSTRUCTIONS *** uncomment either of the next two lines
var target = new Date().getTime() + (300 * 1000);
//var target = new Date("Jan 19, 2038").getTime();
// time vars
var dd, hh, mm, ss;
// function to update countdown every second
setInterval(function () {
// seconds from now until target
var now = new Date().getTime();
var seconds = (target - now) / 1000;
// parse seconds into time vars
dd = parseInt(seconds / 86400); seconds = seconds % 86400;
hh = parseInt(seconds / 3600); seconds = seconds % 3600;
mm = parseInt(seconds / 60);
ss = parseInt(seconds % 60);
// find and set id="countdown" in document
document.getElementById("idCountdown").innerHTML = dd + 'd ' + hh + 'h ' + mm
+ 'm ' + ss + 's';
// indicate when countdown has completed
if (ss<0) {
document.getElementById("idCountdown").style.color = 'red';
}
}, 1000);
</script>
</html>
Hope this helps.
-Jim
_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
"Where the Answers Are, and have been for 20 years"