![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.javascript archiveRe: Date Expiry of Page using Javascript ?
From: alu <none@none.com>
Date: Sat Jul 30 2005 - 04:38:53 CEST
"Dr John Stockton" <jrs@merlyn.demon.co.uk> wrote
> Bloatware. All that is needed is
Thanks John, 'knew it was fat....was even fatter before.
var nowDate = new Date();
year returned '105', while in IE, year returned '2005'.
Changing the line to: var year = nowDate.getUTCFullYear()
|