Re: [WebDNA] Dates

This WebDNA talk-list message is from

2009


It keeps the original formatting.
numero = 103768
interpreted = N
texte = Frank Nordberg wrote: > Donovan Brooke wrote: > >> Then do some math: >> >> 2 days from now: [math date]{[date]}+{02/00/0000}[/math] > > I'm afraid I still can't get it to work. That is, your code does give > 10/10/2009 but adding four days gives 10/12/2009. [snip] > > That being said, I'm only 95 percent sure the server's preferences are > set to dd/mm/yyyy date format. Could that be the cause of the problems? Yep, it appears your server is still reading as %m/%d/%Y.. since it appears you are adding 4 months, not days. >> Yep. :-/ This is a bug in the admin templates. Thanks for bring >> it to light to the list. Until we release a new >> version, you can edit the file /WebCatalogEngine/admin/AdminPrefs.dna >> lines 189 and 190.. just switch the "yes" and "no" at the end of those >> lines. > > OK. No big deal then, as long as we know about it. :-) > Frank Well, those little things can be frustrating after a long day of coding! ..will be fixed next release! Donovan -- Donovan Brooke WebDNA Software Corporation http://www.webdna.us **[Square Bracket Utopia]** Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Dates (Tom Duke 2009)
  2. Re: [WebDNA] Dates (Frank Nordberg 2009)
  3. Re: [WebDNA] Dates (Donovan Brooke 2009)
  4. Re: [WebDNA] Dates (Frank Nordberg 2009)
  5. Re: [WebDNA] Dates (Frank Nordberg 2009)
  6. Re: [WebDNA] Dates (Donovan Brooke 2009)
  7. [WebDNA] Dates (Frank Nordberg 2009)
Frank Nordberg wrote: > Donovan Brooke wrote: > >> Then do some math: >> >> 2 days from now: [math date]{[date]}+{02/00/0000}[/math] > > I'm afraid I still can't get it to work. That is, your code does give > 10/10/2009 but adding four days gives 10/12/2009. [snip] > > That being said, I'm only 95 percent sure the server's preferences are > set to dd/mm/yyyy date format. Could that be the cause of the problems? Yep, it appears your server is still reading as %m/%d/%Y.. since it appears you are adding 4 months, not days. >> Yep. :-/ This is a bug in the admin templates. Thanks for bring >> it to light to the list. Until we release a new >> version, you can edit the file /WebCatalogEngine/admin/AdminPrefs.dna >> lines 189 and 190.. just switch the "yes" and "no" at the end of those >> lines. > > OK. No big deal then, as long as we know about it. :-) > Frank Well, those little things can be frustrating after a long day of coding! ..will be fixed next release! Donovan -- Donovan Brooke WebDNA Software Corporation http://www.webdna.us **[Square Bracket Utopia]** Donovan Brooke

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:

encryption madness (2003) WebCatalog can't find database (1997) WebCatalog Hosting (1996) WebMerchant and PC Auth Hub (1999) TCP Connect/send and CGI (2003) a little OT (2001) Help! WebCat2 bug (1997) First postarg not taking in $Commands (1997) Make sure I understand this??? (1997) select multiple (1997) Forms Search Questions (1997) SiteGuard Use Question (1997) Satisfy Me ! was: Why can't support be satisfying to (2000) [WebDNA] Sorry WebDNA server not running - September 2019 Edition (2019) OT: Unix Geek Needed (2005) Exclamation point (1997) HELP WITH DATES (1997) math on date? (1997) FORMS: Returning a specific page (1997) Virtual hosting and webcatNT (1997)