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.. sinceit 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. :-)> FrankWell, those little things can be frustrating after a long day of coding!..will be fixed next release!Donovan-- Donovan BrookeWebDNA Software Corporationhttp://www.webdna.us**[Square Bracket Utopia]**
Associated Messages, from the most recent to the oldest:
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.. sinceit 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. :-)> FrankWell, those little things can be frustrating after a long day of coding!..will be fixed next release!Donovan-- Donovan BrookeWebDNA Software Corporationhttp://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:
Running 2 two WebCatalog.acgi's (1996)
WebCatalog2 Feature Feedback (1996)
Custom error files (1998)
Faxing orders in place of email (1997)
Great product and great job ! (1997)
Plugin or CGI or both (1997)
[WebDNA] Commas within table content (2009)
[shownext max (1997)
Here's how to kill a Butler Database. (1997)
Emailer setup (1997)
Multiple Newcarts (1996)
PCS Frames (1997)
price on detail, but not shoppingcart (1997)
[WebDNA] linux linux linux (2009)
Error Lob.db records error message not name (1997)
Emailer and encryption (1997)
Interfacing a webcat front end registartion to CommunigatePRO (2000)
Search in 2 or more catalogs (1997)
Fun with dates (1997)
problems with 2 tags shakur (1997)