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:

    [UPPERCASE] (1997) Feature Request: ! character bug correct in [showif [variable]=] (2000) Any help gratefully appreciated (2001) Sendmail - Attachment / My First Post (2001) List archive status? (1999) Help name our technology! (1997) [WebDNA] Fails to recognize comma-separated db (2010) [WebDNA] why is this cookie being set to expire at end of browser session? (2009) Template transformed itself into a database? (1998) Dates - Search and Sorting (1999) Problems with date math (1997) New Plug-in and Type 11 errors (1997) WebCat cannot handle compatible search parameters? (1997) No Wanna Duppys (1998) SmithMicro Help! -- Can't access WebCatalog Admin! (2001) SwitchNotFoundDEFAULT (2003) Mac List Servers (was: Duplicate Hell) (1999) Date format problems (1997) Need relative path explanation (1997) For those of you not on the WebCatalog Beta... (1997)