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:

[defined]ish (1997) Catch MySQL Connection error (2005) Multi-processor Mac info ... (1997) OT: Poll Results (2002) Exporting from Excel (1998) RE: Formulas.db + Users.db (1997) Sendmail double space (2001) Plugin or CGI or both (1997) RE: [WebDNA] Ubuntu 14.04 & WebDNA 8.2 (html not rendering) (2017) More on the email templates (1997) local IIS setup (2004) listfiles, moving files (1998) PCS Frames (1997) Summary layout (1997) Banners (1997) WebCat2.0b15-to many nested [xx] tags (1997) Error: this shopping cart has already been submitted and been (2006) Help! WebCat2 bug (1997) Duplicates (1998) problems with WebCat-Plugin ()