Re: problem with [Format Days_To_Date]
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 32339
interpreted = N
texte = >Date Display Format = %m/%d/%Y>Read Date Format = Year/Month/Day (TextSortable)Like I said before, the two date formats should match -- and they do not. Try the following pref values:DateFormat %Y/%m/%dReadDateFormat ymd>I have provided the exact webdna code. And it isn't in an orderfile. It is>what I posted, nothing more, nothing less.>>This is the entire html file>--->>>>
Untitled>>>>[math show=f]today={[date]}[/math]
>>[Format Days_To_Date][today][/Format]
>>>--->>With the above I get a value for the variable 'today' then I want to convert>it back. I have had much trouble with this workin gin the past that I simply>created a page to make sure it worked correctly first before I start to rely>on the value.>>-->Dale Therio >+49 69 263 19977 office Dresdner Kleinwort Benson Research>+49 69 263 11379 fax Jürgen-Ponto-Platz 1>+49 170 934 3610 mobile 60301 Frankfurt, Germany>>>> From: Kenneth Grome
>> Reply-To: (WebCatalog Talk)>> Date: Thu, 25 May 2000 22:09:16 -1000>> To: (WebCatalog Talk)>> Subject: Re: problem with [Format Days_To_Date]>>>>> That is the entire code.>>> I am using WebCat 3.0.8 on Solaris.>>> I have the date settings in the prefs set to text sortable>>>> Which date pref? What do you mean by text sortable? It's best to>> provide the exact webdna code as well as the actual values of both>> your date prefs. There are two date prefs not one, and they probably>> both have to be set the same. In addition, you did not mention>> whether or not this is in an implied or actual orderfile context ...>>>>>>> -->>> Dale Therio>>> +49 69 263 19977 office Dresdner Kleinwort Benson Research>>> +49 69 263 11379 fax Jürgen-Ponto-Platz 1>>> +49 170 934 3610 mobile 60301 Frankfurt, Germany>>>>>>>>>> From: Kenneth Grome >>>> Reply-To: (WebCatalog Talk)>>>> Date: Thu, 25 May 2000 07:58:36 -1000>>>> To: (WebCatalog Talk)>>>> Subject: Re: problem with [Format Days_To_Date]>>>>>>>>> Anyone know why the following code does not work?>>>>>>>>>> [math show=f]today={[date]}[/math]
>>>>>>>>>> [Format Days_To_Date][today][/Format]
>>>>>>>>>> I get 1911 as the year when I do the above.>>>>>>>>>>>> Funny, I get 05/25/2000 ...>>>>>>>> What version are you using? What OS are you using?>>>> What else is in your code might be messing this up?>>>>>>>>>>>> ================================>>>> Kenneth Grome, WebDNA Consultant>>>> 808-737-6499 http://webdna.net>>>> ================================>>>>>>>>>>>>>>>> ------------------------------------------------------------->>>> This message is sent to you because you are subscribed to>>>> the mailing list .>>>> To unsubscribe, E-mail to: >>>> To switch to the DIGEST mode, E-mail to>>>> >>>> Web Archive of this list is at: http://search.smithmicro.com/>>>>>>>>>>>>> ------------------------------------------------------------->>> This message is sent to you because you are subscribed to>>> the mailing list .>>> To unsubscribe, E-mail to: >>> To switch to the DIGEST mode, E-mail to>>> >>> Web Archive of this list is at: http://search.smithmicro.com/>>>>>>>> ================================>> Kenneth Grome, WebDNA Consultant>> 808-737-6499 http://webdna.net>> ================================>>>>>>>> ------------------------------------------------------------->> This message is sent to you because you are subscribed to>> the mailing list .>> To unsubscribe, E-mail to: >> To switch to the DIGEST mode, E-mail to>> >> Web Archive of this list is at: http://search.smithmicro.com/>>>>>------------------------------------------------------------->This message is sent to you because you are subscribed to> the mailing list .>To unsubscribe, E-mail to: >To switch to the DIGEST mode, E-mail to >>Web Archive of this list is at: http://search.smithmicro.com/================================Kenneth Grome, WebDNA Consultant808-737-6499 http://webdna.net================================-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
>Date Display Format = %m/%d/%Y>Read Date Format = Year/Month/Day (TextSortable)Like I said before, the two date formats should match -- and they do not. Try the following pref values:DateFormat %Y/%m/%dReadDateFormat ymd>I have provided the exact webdna code. And it isn't in an orderfile. It is>what I posted, nothing more, nothing less.>>This is the entire html file>--->>>> Untitled>>>>[math show=f]today={[date]}[/math]
>>[Format Days_To_Date][today][/Format]
>>>--->>With the above I get a value for the variable 'today' then I want to convert>it back. I have had much trouble with this workin gin the past that I simply>created a page to make sure it worked correctly first before I start to rely>on the value.>>-->Dale Therio >+49 69 263 19977 office Dresdner Kleinwort Benson Research>+49 69 263 11379 fax Jürgen-Ponto-Platz 1>+49 170 934 3610 mobile 60301 Frankfurt, Germany>>>> From: Kenneth Grome >> Reply-To: (WebCatalog Talk)>> Date: Thu, 25 May 2000 22:09:16 -1000>> To: (WebCatalog Talk)>> Subject: Re: problem with [Format Days_To_Date]>>>>> That is the entire code.>>> I am using WebCat 3.0.8 on Solaris.>>> I have the date settings in the prefs set to text sortable>>>> Which date pref? What do you mean by text sortable? It's best to>> provide the exact webdna code as well as the actual values of both>> your date prefs. There are two date prefs not one, and they probably>> both have to be set the same. In addition, you did not mention>> whether or not this is in an implied or actual orderfile context ...>>>>>>> -->>> Dale Therio>>> +49 69 263 19977 office Dresdner Kleinwort Benson Research>>> +49 69 263 11379 fax Jürgen-Ponto-Platz 1>>> +49 170 934 3610 mobile 60301 Frankfurt, Germany>>>>>>>>>> From: Kenneth Grome >>>> Reply-To: (WebCatalog Talk)>>>> Date: Thu, 25 May 2000 07:58:36 -1000>>>> To: (WebCatalog Talk)>>>> Subject: Re: problem with [Format Days_To_Date]>>>>>>>>> Anyone know why the following code does not work?>>>>>>>>>> [math show=f]today={[date]}[/math]
>>>>>>>>>> [Format Days_To_Date][today][/Format]
>>>>>>>>>> I get 1911 as the year when I do the above.>>>>>>>>>>>> Funny, I get 05/25/2000 ...>>>>>>>> What version are you using? What OS are you using?>>>> What else is in your code might be messing this up?>>>>>>>>>>>> ================================>>>> Kenneth Grome, WebDNA Consultant>>>> 808-737-6499 http://webdna.net>>>> ================================>>>>>>>>>>>>>>>> ------------------------------------------------------------->>>> This message is sent to you because you are subscribed to>>>> the mailing list .>>>> To unsubscribe, E-mail to: >>>> To switch to the DIGEST mode, E-mail to>>>> >>>> Web Archive of this list is at: http://search.smithmicro.com/>>>>>>>>>>>>> ------------------------------------------------------------->>> This message is sent to you because you are subscribed to>>> the mailing list .>>> To unsubscribe, E-mail to: >>> To switch to the DIGEST mode, E-mail to>>> >>> Web Archive of this list is at: http://search.smithmicro.com/>>>>>>>> ================================>> Kenneth Grome, WebDNA Consultant>> 808-737-6499 http://webdna.net>> ================================>>>>>>>> ------------------------------------------------------------->> This message is sent to you because you are subscribed to>> the mailing list .>> To unsubscribe, E-mail to: >> To switch to the DIGEST mode, E-mail to>> >> Web Archive of this list is at: http://search.smithmicro.com/>>>>>------------------------------------------------------------->This message is sent to you because you are subscribed to> the mailing list .>To unsubscribe, E-mail to: >To switch to the DIGEST mode, E-mail to >>Web Archive of this list is at: http://search.smithmicro.com/================================Kenneth Grome, WebDNA Consultant808-737-6499 http://webdna.net================================-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
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:
PCS Frames-Default page is solution! (1997)
cookies crumbling (1999)
rotating thumbnails (1997)
Re:2nd WebCatalog2 Feature Request (1996)
Browser Info.txt (1997)
Setting up the server (1997)
Newbie from and old bee (1997)
SSL and reg web* (1997)
WC2b12: Yes, Formulas.db is for real (1997)
checking for [ and ] in form fields ... (1997)
NY taxRates.db? (1997)
Security hole in WebCat? (1999)
details (2003)
Date errors? (1999)
Sort Order on a page search (1997)
CASTEGORIES IN DIFFERENT FRAMES (1997)
[WebDNA] Clean URLS job - will pay (2010)
[WebDNA] [OT] DNS Services (2010)
Dark Horse Comics success story (1997)
email preferences on NT (1997)