RE: Date/LastModified Question

by Klaas De Waele <klaas(at)gracegraphics.be>

 Date:  Thu, 13 Sep 2001 09:17:28 +0200
 To:  "'EB'" <doublebase(at)wanadoo.nl>,
"'Nathan Lyle'" <natelyle(at)chartermi.net>,
"'javascript'" <hwg-techniques(at)hwg.org>
  todo: View Thread, Original

if (fyear < 2000) {
fyear = fyear + 1900;
}


I thought.


> -----Oorspronkelijk bericht-----
> Van: owner-hwg-techniques(at)hwg.org
> [mailto:owner-hwg-techniques(at)hwg.org]Namens EB
> Verzonden: donderdag 13 september 2001 3:42
> Aan: Nathan Lyle; javascript
> Onderwerp: Re: Date/LastModified Question
> 
> 
> 
> ----- Original Message ----- 
> From: Nathan Lyle <natelyle(at)chartermi.net>
> 
> | I've been trying to use the following script:
> ...
> |         if (fyear < 2000);
> |         fyear = fyear + 1900;
> ...| 
> | And find myself getting strange results for the year (a 
> thousand years
> | off in either direction.)
> | 
> | Any ideas?
> 
> no semicolon after if statement?
> if (fyear < 2000) 
> fyear = fyear + 1900;
> 
> afaidk, eric
> 
> 
> 

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.