Hi, I'm creating a countdown timer to a dynamic date, it reads a date from a db and then counts down to that date. I need to know once the date has been reached how i then display a message stating that the users member ship is up.............any ideas? Thanks
if recordset("userexpiration") < now() then response.write "Sorry Bucko... pay up or ship out" else 'show the rest of the page end if VG
And if you wanted a countdown, you could use the datediff(interval, dateA, dateB) command response.write(dateDiff("d", now(), recordset("userexpiration"))) would give you the days remaining "h" = hours, "n" = minutes
A great site i use for help related to programming is http://www.tek-tips.com/ They have a huge online community