Re: format_to_days on NT

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 13017
interpreted = N
texte = Olin:Thanks for the snippet: that narrowed down the problem. On NT (the Mac version is OK), the day of the week specifier (%A) can cause a crash if the date is outside a certain range (roughtly limited to this century). We are releasing a 2.0.1 update in the next few weeks and it should be fixed in that version. Until then, removing the %A, or doing some validity checking in the WebDNA, will prevent that problem from occuring. Thanks for pointing this out.John.>>Olin: >> >>Do you have a sample that does this? You can to me personally. I'd like >>to make sure it's fixed if there is a problem. I just did a quick test >>with the following: >> >>[format days_to_date]563625[/format]
>>[format days_to_date]10[/format]
>>[format days_to_date]-236[/format]
>>[format days_to_date]12/8/65[/format]
>>[format days_to_date]text[/format]
>> >>and they worked as expected. Thanks. >> >>John. > >Greetings John: > >Here is the call: > >
  • Date of Last Update:  [FORMAT DAYS_TO_DATE %A, %B %d, >%Y][MATH]{[homeUpdate]}[/MATH][/FORMAT] > >When [homeUpdate] is not a date, WebCat doesn't run. What is different >is that I can't stop and restart the service for it to work again (and >Dr. Watson doesn't give me my error message). I have to reboot the box. >I'm running NT4.0 and IIS3.0. > >Thanks, > >Olin > >..................................................................... >W O R L D P O I N T I N T E R A C T I V E OLIN KEALOHA LAGON > director, website creation >Honolulu San Francisco > 2800 woodlawn drive 222 sutter street olin@worldpoint.com > suite 170 sixth floor www.worldpoint.com > honolulu, hi 96822 san francisco, ca 94108 > > voice.808.539.3978 fax.808.539.3943 cell.808.291.1610 >..................................................................... John A. Hill Pacific Coast Software 11770 Bernardo Plaza Ct. #453 * Web tools for Macintosh and WinNT * San Diego, CA 92128 http://www.smithmicro.com Associated Messages, from the most recent to the oldest:

        
    1. Re: format_to_days on NT (John Hill 1997)
    2. Re: format_to_days on NT (Olin 1997)
    3. Re: format_to_days on NT (John Hill 1997)
    4. watch out for format_to_days on NT (Olin 1997)
    Olin:Thanks for the snippet: that narrowed down the problem. On NT (the Mac version is OK), the day of the week specifier (%A) can cause a crash if the date is outside a certain range (roughtly limited to this century). We are releasing a 2.0.1 update in the next few weeks and it should be fixed in that version. Until then, removing the %A, or doing some validity checking in the WebDNA, will prevent that problem from occuring. Thanks for pointing this out.John.>>Olin: >> >>Do you have a sample that does this? You can to me personally. I'd like >>to make sure it's fixed if there is a problem. I just did a quick test >>with the following: >> >>[format days_to_date]563625[/format]
    >>[format days_to_date]10[/format]
    >>[format days_to_date]-236[/format]
    >>[format days_to_date]12/8/65[/format]
    >>[format days_to_date]text[/format]
    >> >>and they worked as expected. Thanks. >> >>John. > >Greetings John: > >Here is the call: > >
  • Date of Last Update:  [FORMAT DAYS_TO_DATE %A, %B %d, >%Y][math]{[homeUpdate]}[/MATH][/FORMAT] > >When [homeUpdate] is not a date, WebCat doesn't run. What is different >is that I can't stop and restart the service for it to work again (and >Dr. Watson doesn't give me my error message). I have to reboot the box. >I'm running NT4.0 and IIS3.0. > >Thanks, > >Olin > >..................................................................... >W O R L D P O I N T I N T E R A C T I V E OLIN KEALOHA LAGON > director, website creation >Honolulu San Francisco > 2800 woodlawn drive 222 sutter street olin@worldpoint.com > suite 170 sixth floor www.worldpoint.com > honolulu, hi 96822 san francisco, ca 94108 > > voice.808.539.3978 fax.808.539.3943 cell.808.291.1610 >..................................................................... John A. Hill Pacific Coast Software 11770 Bernardo Plaza Ct. #453 * Web tools for Macintosh and WinNT * San Diego, CA 92128 http://www.smithmicro.com John Hill

    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:

    [SHOWIF AND/OR] (1997) Apple event reply error (-1) (1997) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) Backwards list behavior ... (1997) truncating email part II (1997) Freeze (2003) Couple of questions (1999) I'm new be kind (1997) processing .html pages (2001) Show items based on login Password (2003) Remove me from your list immeadiately (1998) PCS Frames (1997) Virtual hosting and webcatNT (1997) WCf2 and nested tags (1997) WebCat2b15MacPlugin - showing [math] (1997) HELP WITH DATES (1997) WebDNA reviews? (2002) User Authentication (2003) Artwork (1997) Populating a db from a form textarea (2005)