Hi, Kathy,
hard coded date, great!
![Big Smile]()
Done. That was now easy:
QXP here.
I was thinking too big, I thought you wanted a generic solution where you could put in any deadline in the next 10 years.
So, last question before I send it to you:
Is today 94 days left or 95? Or in other words, on April 20 do you want to see 0 or 1 days left?
You can change it yourself in line 3. Here's how (and what restrictions this example has):
- Deadline is hardcoded (April 20).
- If running continuously (e.g. on a dedicated machine), deadline doesnt update automatically at midnight. A refresh will update the date.
- The SWF will give funny results if used before Jan 1st or after Apr 20th.
- On April 20 the countdown shows zero. If you want it to be 1, change line 3 of script to rest=1.
You can change the layout completely, just do not delete the middle (empty) box, where the days appear. You can change font and box though.
Regards
Matthias