Date Bug

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 15990
interpreted = N
texte = Greetings, all--Apologies if this has been addressed earlier, but I haven't been able to find any reference to it in the archives....I have been working on a dynamic calendar for a site, and I ran into a problem when I tried to display September and October, 1998. It looks like September 4 is missing from WebCat's programming...and November 2 is there twice!If you'd like to check my work, try the following:Set up a small database with day numbers (SERIALDATE) from 72990 through 730080. Then have WebCat display the associated calendar day; I used[founditems] [SERIALDATE], [format days_to_date %x][math]{[SERIALDATE]}[/math][/format]
[/founditems]When I got to 73000, the date displayed as Sep 3, 1998, which is correct.The next number, 73001, displayed as Sep 5, 1998.730059 displayed as Nov 2, 1998; so did 730060 (which was actually correct).I'm using 2.0, and I also tested this with 2.1b3 (PowerMac). Has this been fixed in a more recent version...or am I the first to find this?Thanks,Michael Hunter___________________________________________________________________________ Express Communications Telephone: 203.784.0390 308 Morse St. Fax: 203.784.0397 Hamden, CT 06517 http://www.expcom.com/Digital Photography | Digital Imaging | Color Separation | Digital Printing Web Site Design and Hosting Associated Messages, from the most recent to the oldest:

    
  1. Createdate Bug? (Glenn Busbin 2002)
  2. Re: Date Bug (Express Communications 1998)
  3. Re: Date Bug (Kenneth Grome 1998)
  4. Re: Date Bug (Grant Hulbert 1998)
  5. Re: Date Bug (Trevor Crist 1998)
  6. Date Bug (Express Communications 1998)
Greetings, all--Apologies if this has been addressed earlier, but I haven't been able to find any reference to it in the archives....I have been working on a dynamic calendar for a site, and I ran into a problem when I tried to display September and October, 1998. It looks like September 4 is missing from WebCat's programming...and November 2 is there twice!If you'd like to check my work, try the following:Set up a small database with day numbers (SERIALDATE) from 72990 through 730080. Then have WebCat display the associated calendar day; I used[founditems] [SERIALDATE], [format days_to_date %x][math]{[SERIALDATE]}[/math][/format]
[/founditems]When I got to 73000, the date displayed as Sep 3, 1998, which is correct.The next number, 73001, displayed as Sep 5, 1998.730059 displayed as Nov 2, 1998; so did 730060 (which was actually correct).I'm using 2.0, and I also tested this with 2.1b3 (PowerMac). Has this been fixed in a more recent version...or am I the first to find this?Thanks,Michael Hunter___________________________________________________________________________ Express Communications Telephone: 203.784.0390 308 Morse St. Fax: 203.784.0397 Hamden, CT 06517 http://www.expcom.com/Digital Photography | Digital Imaging | Color Separation | Digital Printing Web Site Design and Hosting Express Communications

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

UPS Rates (2006) searching multiple databases in single search (1997) Carts & cookies (1999) form data submission gets truncated (1997) WebCat2: Items xx to xx shown, etc. (1997) Memory Leak (2000) Setting up shop (1997) Webcat Security (1998) WebCatb15 Mac CGI -- [purchase] (1997) Date search - yes or no (1997) WCS Newbie question (1997) Interesting speed comparison .. (2003) Running _every_ page through WebCat ? (1997) Re:Remote stockroom ? (1998) How fast is your server? (2002) learning PHP (2007) Attention SMSI - DOCS Error (2004) French characters in variables (2001) 'does not contain' operator needed ... (1997) Custom WebCat Prefs ... (1997)