Re: ReadDateFormat

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 21800
interpreted = N
texte = >After a lot of trials I have discovered that calculation on dates (using >the number of days since 00/00/0000. CF webdna code from Kenneth Grome) >works fine when I drop ReadDateFormat from the preference files of >webcatalog 3. >Everything is wrong when I keep this line in the preference file, no matter >how I set it (Month/Day/Year or Day/Month/Year) et how I set the Date >Format in the clock (American Format or French Format). > >I can't see what I am doing wrong. Any hint? and is it mandatory to have >the ReadFormat defined in the preference file?I developed my date code on webcat 2.x, before the ReadDateFormat preference ever existed. From what you're saying, it seems that if you simply remove this preference from the WebCatalog Prefs file, webcat 3.x defaults to some internal code that still allows my external webdna code to work properly.Therefore, it appears that there is some common internal date code in both 2.x and 3.x, but that code cannot be used in 3.x *unless* you remove the ReadDateFormat preference. If you leave it in, webcat uses the new internal code, and that new code may have a bug in it that prevents my date stuff from working properly.PCS will surely have more information about this theory ...Sincerely, Ken Grome 808-737-6499 WebDNA Solutions mailto:ken@webdna.net http://www.webdna.net Associated Messages, from the most recent to the oldest:

    
  1. Re: ReadDateFormat bug in 3.x (John Hill 1998)
  2. Re: ReadDateFormat bug in 3.x (Kenneth Grome 1998)
  3. Re: ReadDateFormat bug in 3.x (Kenneth Grome 1998)
  4. Re: ReadDateFormat bug in 3.x (PCS Technical Support 1998)
  5. Re: ReadDateFormat bug in 3.x (helene 1998)
  6. Re: ReadDateFormat bug in 3.x (PCS Technical Support 1998)
  7. ReadDateFormat bug in 3.x (Kenneth Grome 1998)
  8. Re: ReadDateFormat (helene 1998)
  9. Re: ReadDateFormat (Kenneth Grome 1998)
  10. Re: ReadDateFormat (Kenneth Grome 1998)
  11. Re: ReadDateFormat (Kenneth Grome 1998)
  12. ReadDateFormat (helene 1998)
  13. ReadDateFormat bug in 3.0.1 (Grant Hulbert 1998)
>After a lot of trials I have discovered that calculation on dates (using >the number of days since 00/00/0000. CF webdna code from Kenneth Grome) >works fine when I drop ReadDateFormat from the preference files of >webcatalog 3. >Everything is wrong when I keep this line in the preference file, no matter >how I set it (Month/Day/Year or Day/Month/Year) et how I set the Date >Format in the clock (American Format or French Format). > >I can't see what I am doing wrong. Any hint? and is it mandatory to have >the ReadFormat defined in the preference file?I developed my date code on webcat 2.x, before the ReadDateFormat preference ever existed. From what you're saying, it seems that if you simply remove this preference from the WebCatalog Prefs file, webcat 3.x defaults to some internal code that still allows my external webdna code to work properly.Therefore, it appears that there is some common internal date code in both 2.x and 3.x, but that code cannot be used in 3.x *unless* you remove the ReadDateFormat preference. If you leave it in, webcat uses the new internal code, and that new code may have a bug in it that prevents my date stuff from working properly.PCS will surely have more information about this theory ...Sincerely, Ken Grome 808-737-6499 WebDNA Solutions mailto:ken@webdna.net http://www.webdna.net Kenneth Grome

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:

WebCat2b12 Mac.acgi--[searchstring] bug (1997) Is this possible, WebCat2.0 and checkboxes (1997) Disappearing Database (1998) Plain tex spacing for html? (2003) Getting Values into Cart the easy way?* (1998) Error: Can't open order file. Ignoring [OrderFile] context (2000) Remove me from your list immeadiately (1998) Sorting by date (1997) Formvariable won't update (1999) Closed Wait States (2004) Show if file exists (2004) Don't know if this is a sily question... (2003) Running 2 two WebCatalog.acgi's (1996) Pithy questions on webcommerce & siteedit (1997) webcatalog and webmerchant 2.1 (1998) Simple way to create unique SKU (1997) [Math] Problem!!!! (2004) If Else Statement... (2004) More Hide IFs (2000) WC2b12: Yes, Formulas.db is for real (1997)