JRS: In article <11**********************@m79g2000cwm.googlegroups .com>
, dated Fri, 11 Aug 2006 10:40:37 remote, seen in news:comp.infosystems.
www.authoring.html, bbgraph <rc*******@earthlink.netposted :
>Does anyone have a suggestion for doing this with a date function
rather than the typical content=(number of seconds) function? I have an
events page that I'd like to expire on a certain date and, in it's
place, have a noevents page displayed. My server has Perl, Php and
FrontPage extensions installed but I haven't been able to find a script
anywhere that will do the job.
Firstly, you have to decide whether that date should be the UTC/GMT
date, or the user's local date, or some other local date (perhaps
yours), or that it does not matter.
And you need to decide whether a copy of the page kept locally by the
reader needs to expire itself on the date in question.
Read the c.l.j FAQ.
--
© John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v4.00 IE 4 ©
<URL:http://www.jibbering.com/faq/>? JL/RC: FAQ of news:comp.lang.javascript
<URL:http://www.merlyn.demon.co.uk/js-index.htmjscr maths, dates, sources.
<URL:http://www.merlyn.demon.co.uk/TP/BP/Delphi/jscr/&c, FAQ items, links.