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/%d ReadDateFormat 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 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/ Associated Messages, from the most recent to the oldest:

    
  1. Re: problem with [Format Days_To_Date] (dale@gmr.dresdner.net 2000)
  2. Re: problem with [Format Days_To_Date] (Bo Hess 2000)
  3. Re: problem with [Format Days_To_Date] (Kenneth Grome 2000)
  4. Re: problem with [Format Days_To_Date] (dale@gmr.dresdner.net 2000)
  5. Re: problem with [Format Days_To_Date] (Kenneth Grome 2000)
  6. Re: problem with [Format Days_To_Date] (dale@gmr.dresdner.net 2000)
  7. Re: problem with [Format Days_To_Date] (dale@gmr.dresdner.net 2000)
  8. Re: problem with [Format Days_To_Date] (John Butler 2000)
  9. Re: problem with [Format Days_To_Date] (Kenneth Grome 2000)
  10. problem with [Format Days_To_Date] (dale@gmr.dresdner.net 2000)
>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/%d ReadDateFormat 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 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/ 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:

Some Questions (1997) Clear/Reset form with JavaScript (2001) Windows 95/NT tip of the month (1998) Lookup within a Search (2005) Printing controls - form feeds (2002) WebCat2 - storing unformatted date data? (1997) Image as submit button (2000) [WebDNA] [middle] << assistance need (2016) UnitShipCost, Formulas.db and passwords (2003) Re2: frames & carts (1997) Problems getting parameters passed into email. (1997) Press Release hit the NewsWire!!! (1997) 404 error -- but wc code executes... (2001) [WebDNA] Add to cart (2014) Problem (1997) Error Lob.db records error message not name (1997) Too Much Rootbeer Free Offer (1997) Shopping Carts folder does not exist in Linux (2000) 2.1 bugs left over from beta cycle (1998) Problems with [Search] param - Mac Plugin b15 (1997)